Class ApprovalRequestName
- java.lang.Object
-
- com.google.cloud.accessapproval.v1.ApprovalRequestName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ApprovalRequestName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApprovalRequestName.Builder
Builder for projects/{project}/approvalRequests/{approval_request}.static class
ApprovalRequestName.FolderApprovalRequestBuilder
Builder for folders/{folder}/approvalRequests/{approval_request}.static class
ApprovalRequestName.OrganizationApprovalRequestBuilder
Builder for organizations/{organization}/approvalRequests/{approval_request}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ApprovalRequestName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
ApprovalRequestName
@Deprecated protected ApprovalRequestName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getApprovalRequest
public String getApprovalRequest()
-
getFolder
public String getFolder()
-
getOrganization
public String getOrganization()
-
newBuilder
public static ApprovalRequestName.Builder newBuilder()
-
newProjectApprovalRequestBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ApprovalRequestName.Builder newProjectApprovalRequestBuilder()
-
newFolderApprovalRequestBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ApprovalRequestName.FolderApprovalRequestBuilder newFolderApprovalRequestBuilder()
-
newOrganizationApprovalRequestBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ApprovalRequestName.OrganizationApprovalRequestBuilder newOrganizationApprovalRequestBuilder()
-
toBuilder
public ApprovalRequestName.Builder toBuilder()
-
of
public static ApprovalRequestName of(String project, String approvalRequest)
-
ofProjectApprovalRequestName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ApprovalRequestName ofProjectApprovalRequestName(String project, String approvalRequest)
-
ofFolderApprovalRequestName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ApprovalRequestName ofFolderApprovalRequestName(String folder, String approvalRequest)
-
ofOrganizationApprovalRequestName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ApprovalRequestName ofOrganizationApprovalRequestName(String organization, String approvalRequest)
-
formatProjectApprovalRequestName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectApprovalRequestName(String project, String approvalRequest)
-
formatFolderApprovalRequestName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderApprovalRequestName(String folder, String approvalRequest)
-
formatOrganizationApprovalRequestName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationApprovalRequestName(String organization, String approvalRequest)
-
parse
public static ApprovalRequestName parse(String formattedString)
-
parseList
public static List<ApprovalRequestName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ApprovalRequestName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-