Class AccessApprovalSettings.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
- com.google.cloud.accessapproval.v1.AccessApprovalSettings.Builder
-
- All Implemented Interfaces:
AccessApprovalSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AccessApprovalSettings
public static final class AccessApprovalSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder> implements AccessApprovalSettingsOrBuilder
Settings on a Project/Folder/Organization related to Access Approval.
Protobuf typegoogle.cloud.accessapproval.v1.AccessApprovalSettings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessApprovalSettings.BuilderaddAllEnrolledServices(Iterable<? extends EnrolledService> values)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuilderaddAllNotificationEmails(Iterable<String> values)A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.BuilderaddEnrolledServices(int index, EnrolledService value)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuilderaddEnrolledServices(int index, EnrolledService.Builder builderForValue)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuilderaddEnrolledServices(EnrolledService value)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuilderaddEnrolledServices(EnrolledService.Builder builderForValue)A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledService.BuilderaddEnrolledServicesBuilder()A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledService.BuilderaddEnrolledServicesBuilder(int index)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuilderaddNotificationEmails(String value)A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.BuilderaddNotificationEmailsBytes(com.google.protobuf.ByteString value)A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AccessApprovalSettingsbuild()AccessApprovalSettingsbuildPartial()AccessApprovalSettings.Builderclear()AccessApprovalSettings.BuilderclearActiveKeyVersion()The asymmetric crypto key version to use for signing approval requests.AccessApprovalSettings.BuilderclearAncestorHasActiveKeyVersion()Output only.AccessApprovalSettings.BuilderclearEnrolledAncestor()Output only.AccessApprovalSettings.BuilderclearEnrolledServices()A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AccessApprovalSettings.BuilderclearInvalidKeyVersion()Output only.AccessApprovalSettings.BuilderclearName()The resource name of the settings.AccessApprovalSettings.BuilderclearNotificationEmails()A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AccessApprovalSettings.Builderclone()StringgetActiveKeyVersion()The asymmetric crypto key version to use for signing approval requests.com.google.protobuf.ByteStringgetActiveKeyVersionBytes()The asymmetric crypto key version to use for signing approval requests.booleangetAncestorHasActiveKeyVersion()Output only.AccessApprovalSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEnrolledAncestor()Output only.EnrolledServicegetEnrolledServices(int index)A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledService.BuildergetEnrolledServicesBuilder(int index)A list of Google Cloud Services for which the given resource has Access Approval enrolled.List<EnrolledService.Builder>getEnrolledServicesBuilderList()A list of Google Cloud Services for which the given resource has Access Approval enrolled.intgetEnrolledServicesCount()A list of Google Cloud Services for which the given resource has Access Approval enrolled.List<EnrolledService>getEnrolledServicesList()A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledServiceOrBuildergetEnrolledServicesOrBuilder(int index)A list of Google Cloud Services for which the given resource has Access Approval enrolled.List<? extends EnrolledServiceOrBuilder>getEnrolledServicesOrBuilderList()A list of Google Cloud Services for which the given resource has Access Approval enrolled.booleangetInvalidKeyVersion()Output only.StringgetName()The resource name of the settings.com.google.protobuf.ByteStringgetNameBytes()The resource name of the settings.StringgetNotificationEmails(int index)A list of email addresses to which notifications relating to approval requests should be sent.com.google.protobuf.ByteStringgetNotificationEmailsBytes(int index)A list of email addresses to which notifications relating to approval requests should be sent.intgetNotificationEmailsCount()A list of email addresses to which notifications relating to approval requests should be sent.com.google.protobuf.ProtocolStringListgetNotificationEmailsList()A list of email addresses to which notifications relating to approval requests should be sent.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AccessApprovalSettings.BuildermergeFrom(AccessApprovalSettings other)AccessApprovalSettings.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AccessApprovalSettings.BuildermergeFrom(com.google.protobuf.Message other)AccessApprovalSettings.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AccessApprovalSettings.BuilderremoveEnrolledServices(int index)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuildersetActiveKeyVersion(String value)The asymmetric crypto key version to use for signing approval requests.AccessApprovalSettings.BuildersetActiveKeyVersionBytes(com.google.protobuf.ByteString value)The asymmetric crypto key version to use for signing approval requests.AccessApprovalSettings.BuildersetAncestorHasActiveKeyVersion(boolean value)Output only.AccessApprovalSettings.BuildersetEnrolledAncestor(boolean value)Output only.AccessApprovalSettings.BuildersetEnrolledServices(int index, EnrolledService value)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuildersetEnrolledServices(int index, EnrolledService.Builder builderForValue)A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AccessApprovalSettings.BuildersetInvalidKeyVersion(boolean value)Output only.AccessApprovalSettings.BuildersetName(String value)The resource name of the settings.AccessApprovalSettings.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the settings.AccessApprovalSettings.BuildersetNotificationEmails(int index, String value)A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AccessApprovalSettings.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
clear
public AccessApprovalSettings.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
getDefaultInstanceForType
public AccessApprovalSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AccessApprovalSettings build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AccessApprovalSettings buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AccessApprovalSettings.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
setField
public AccessApprovalSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
clearField
public AccessApprovalSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
clearOneof
public AccessApprovalSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
setRepeatedField
public AccessApprovalSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
addRepeatedField
public AccessApprovalSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
mergeFrom
public AccessApprovalSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccessApprovalSettings.Builder>
-
mergeFrom
public AccessApprovalSettings.Builder mergeFrom(AccessApprovalSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
mergeFrom
public AccessApprovalSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccessApprovalSettings.Builder>- Throws:
IOException
-
getName
public String getName()
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"string name = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceAccessApprovalSettingsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"string name = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceAccessApprovalSettingsOrBuilder- Returns:
- The bytes for name.
-
setName
public AccessApprovalSettings.Builder setName(String value)
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"string name = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AccessApprovalSettings.Builder clearName()
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"string name = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public AccessApprovalSettings.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"string name = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNotificationEmailsList
public com.google.protobuf.ProtocolStringList getNotificationEmailsList()
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Specified by:
getNotificationEmailsListin interfaceAccessApprovalSettingsOrBuilder- Returns:
- A list containing the notificationEmails.
-
getNotificationEmailsCount
public int getNotificationEmailsCount()
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Specified by:
getNotificationEmailsCountin interfaceAccessApprovalSettingsOrBuilder- Returns:
- The count of notificationEmails.
-
getNotificationEmails
public String getNotificationEmails(int index)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Specified by:
getNotificationEmailsin interfaceAccessApprovalSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notificationEmails at the given index.
-
getNotificationEmailsBytes
public com.google.protobuf.ByteString getNotificationEmailsBytes(int index)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Specified by:
getNotificationEmailsBytesin interfaceAccessApprovalSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notificationEmails at the given index.
-
setNotificationEmails
public AccessApprovalSettings.Builder setNotificationEmails(int index, String value)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Parameters:
index- The index to set the value at.value- The notificationEmails to set.- Returns:
- This builder for chaining.
-
addNotificationEmails
public AccessApprovalSettings.Builder addNotificationEmails(String value)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Parameters:
value- The notificationEmails to add.- Returns:
- This builder for chaining.
-
addAllNotificationEmails
public AccessApprovalSettings.Builder addAllNotificationEmails(Iterable<String> values)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Parameters:
values- The notificationEmails to add.- Returns:
- This builder for chaining.
-
clearNotificationEmails
public AccessApprovalSettings.Builder clearNotificationEmails()
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Returns:
- This builder for chaining.
-
addNotificationEmailsBytes
public AccessApprovalSettings.Builder addNotificationEmailsBytes(com.google.protobuf.ByteString value)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;- Parameters:
value- The bytes of the notificationEmails to add.- Returns:
- This builder for chaining.
-
getEnrolledServicesList
public List<EnrolledService> getEnrolledServicesList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;- Specified by:
getEnrolledServicesListin interfaceAccessApprovalSettingsOrBuilder
-
getEnrolledServicesCount
public int getEnrolledServicesCount()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;- Specified by:
getEnrolledServicesCountin interfaceAccessApprovalSettingsOrBuilder
-
getEnrolledServices
public EnrolledService getEnrolledServices(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;- Specified by:
getEnrolledServicesin interfaceAccessApprovalSettingsOrBuilder
-
setEnrolledServices
public AccessApprovalSettings.Builder setEnrolledServices(int index, EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
setEnrolledServices
public AccessApprovalSettings.Builder setEnrolledServices(int index, EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(int index, EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(int index, EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addAllEnrolledServices
public AccessApprovalSettings.Builder addAllEnrolledServices(Iterable<? extends EnrolledService> values)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
clearEnrolledServices
public AccessApprovalSettings.Builder clearEnrolledServices()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
removeEnrolledServices
public AccessApprovalSettings.Builder removeEnrolledServices(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledServicesBuilder
public EnrolledService.Builder getEnrolledServicesBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledServicesOrBuilder
public EnrolledServiceOrBuilder getEnrolledServicesOrBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;- Specified by:
getEnrolledServicesOrBuilderin interfaceAccessApprovalSettingsOrBuilder
-
getEnrolledServicesOrBuilderList
public List<? extends EnrolledServiceOrBuilder> getEnrolledServicesOrBuilderList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;- Specified by:
getEnrolledServicesOrBuilderListin interfaceAccessApprovalSettingsOrBuilder
-
addEnrolledServicesBuilder
public EnrolledService.Builder addEnrolledServicesBuilder()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServicesBuilder
public EnrolledService.Builder addEnrolledServicesBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledServicesBuilderList
public List<EnrolledService.Builder> getEnrolledServicesBuilderList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledAncestor
public boolean getEnrolledAncestor()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project or Folder (this field will always be unset for the organization since organizations do not have ancestors).
bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEnrolledAncestorin interfaceAccessApprovalSettingsOrBuilder- Returns:
- The enrolledAncestor.
-
setEnrolledAncestor
public AccessApprovalSettings.Builder setEnrolledAncestor(boolean value)
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project or Folder (this field will always be unset for the organization since organizations do not have ancestors).
bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enrolledAncestor to set.- Returns:
- This builder for chaining.
-
clearEnrolledAncestor
public AccessApprovalSettings.Builder clearEnrolledAncestor()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project or Folder (this field will always be unset for the organization since organizations do not have ancestors).
bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getActiveKeyVersion
public String getActiveKeyVersion()
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;- Specified by:
getActiveKeyVersionin interfaceAccessApprovalSettingsOrBuilder- Returns:
- The activeKeyVersion.
-
getActiveKeyVersionBytes
public com.google.protobuf.ByteString getActiveKeyVersionBytes()
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;- Specified by:
getActiveKeyVersionBytesin interfaceAccessApprovalSettingsOrBuilder- Returns:
- The bytes for activeKeyVersion.
-
setActiveKeyVersion
public AccessApprovalSettings.Builder setActiveKeyVersion(String value)
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;- Parameters:
value- The activeKeyVersion to set.- Returns:
- This builder for chaining.
-
clearActiveKeyVersion
public AccessApprovalSettings.Builder clearActiveKeyVersion()
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;- Returns:
- This builder for chaining.
-
setActiveKeyVersionBytes
public AccessApprovalSettings.Builder setActiveKeyVersionBytes(com.google.protobuf.ByteString value)
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;- Parameters:
value- The bytes for activeKeyVersion to set.- Returns:
- This builder for chaining.
-
getAncestorHasActiveKeyVersion
public boolean getAncestorHasActiveKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that an ancestor of this Project or Folder has set active_key_version (this field will always be unset for the organization since organizations do not have ancestors).
bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAncestorHasActiveKeyVersionin interfaceAccessApprovalSettingsOrBuilder- Returns:
- The ancestorHasActiveKeyVersion.
-
setAncestorHasActiveKeyVersion
public AccessApprovalSettings.Builder setAncestorHasActiveKeyVersion(boolean value)
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that an ancestor of this Project or Folder has set active_key_version (this field will always be unset for the organization since organizations do not have ancestors).
bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The ancestorHasActiveKeyVersion to set.- Returns:
- This builder for chaining.
-
clearAncestorHasActiveKeyVersion
public AccessApprovalSettings.Builder clearAncestorHasActiveKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that an ancestor of this Project or Folder has set active_key_version (this field will always be unset for the organization since organizations do not have ancestors).
bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getInvalidKeyVersion
public boolean getInvalidKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that there is some configuration issue with the active_key_version configured at this level in the resource hierarchy (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.
bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInvalidKeyVersionin interfaceAccessApprovalSettingsOrBuilder- Returns:
- The invalidKeyVersion.
-
setInvalidKeyVersion
public AccessApprovalSettings.Builder setInvalidKeyVersion(boolean value)
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that there is some configuration issue with the active_key_version configured at this level in the resource hierarchy (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.
bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The invalidKeyVersion to set.- Returns:
- This builder for chaining.
-
clearInvalidKeyVersion
public AccessApprovalSettings.Builder clearInvalidKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that there is some configuration issue with the active_key_version configured at this level in the resource hierarchy (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.
bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final AccessApprovalSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
mergeUnknownFields
public final AccessApprovalSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
-