Class ApprovalRequestName (2.56.0)

public class ApprovalRequestName implements ResourceName

Inheritance

Object > ApprovalRequestName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String approvalRequest)

public static String format(String project, String approvalRequest)
Parameters
Name Description
project String
approvalRequest String
Returns
Type Description
String

formatFolderApprovalRequestName(String folder, String approvalRequest)

public static String formatFolderApprovalRequestName(String folder, String approvalRequest)
Parameters
Name Description
folder String
approvalRequest String
Returns
Type Description
String

formatOrganizationApprovalRequestName(String organization, String approvalRequest)

public static String formatOrganizationApprovalRequestName(String organization, String approvalRequest)
Parameters
Name Description
organization String
approvalRequest String
Returns
Type Description
String

formatProjectApprovalRequestName(String project, String approvalRequest)

public static String formatProjectApprovalRequestName(String project, String approvalRequest)
Parameters
Name Description
project String
approvalRequest String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ApprovalRequestName.Builder newBuilder()
Returns
Type Description
ApprovalRequestName.Builder

newFolderApprovalRequestBuilder()

public static ApprovalRequestName.FolderApprovalRequestBuilder newFolderApprovalRequestBuilder()
Returns
Type Description
ApprovalRequestName.FolderApprovalRequestBuilder

newOrganizationApprovalRequestBuilder()

public static ApprovalRequestName.OrganizationApprovalRequestBuilder newOrganizationApprovalRequestBuilder()
Returns
Type Description
ApprovalRequestName.OrganizationApprovalRequestBuilder

newProjectApprovalRequestBuilder()

public static ApprovalRequestName.Builder newProjectApprovalRequestBuilder()
Returns
Type Description
ApprovalRequestName.Builder

of(String project, String approvalRequest)

public static ApprovalRequestName of(String project, String approvalRequest)
Parameters
Name Description
project String
approvalRequest String
Returns
Type Description
ApprovalRequestName

ofFolderApprovalRequestName(String folder, String approvalRequest)

public static ApprovalRequestName ofFolderApprovalRequestName(String folder, String approvalRequest)
Parameters
Name Description
folder String
approvalRequest String
Returns
Type Description
ApprovalRequestName

ofOrganizationApprovalRequestName(String organization, String approvalRequest)

public static ApprovalRequestName ofOrganizationApprovalRequestName(String organization, String approvalRequest)
Parameters
Name Description
organization String
approvalRequest String
Returns
Type Description
ApprovalRequestName

ofProjectApprovalRequestName(String project, String approvalRequest)

public static ApprovalRequestName ofProjectApprovalRequestName(String project, String approvalRequest)
Parameters
Name Description
project String
approvalRequest String
Returns
Type Description
ApprovalRequestName

parse(String formattedString)

public static ApprovalRequestName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ApprovalRequestName

parseList(List<String> formattedStrings)

public static List<ApprovalRequestName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ApprovalRequestName>

toStringList(List<ApprovalRequestName> values)

public static List<String> toStringList(List<ApprovalRequestName> values)
Parameter
Name Description
values List<ApprovalRequestName>
Returns
Type Description
List<String>

Constructors

ApprovalRequestName() (deprecated)

protected ApprovalRequestName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getApprovalRequest()

public String getApprovalRequest()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFolder()

public String getFolder()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ApprovalRequestName.Builder toBuilder()
Returns
Type Description
ApprovalRequestName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides