- 3.55.0 (latest)
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public static final class AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder extends GeneratedMessageV3.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder> implements AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
The IAM policies governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Protobuf type
google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFolders(Iterable<String> values)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder addAllFolders(Iterable<String> values)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The folders to add. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
addFolders(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder addFolders(String value)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
value |
String The folders to add. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
addFoldersBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder addFoldersBytes(ByteString value)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the folders to add. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
build()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy build()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy |
buildPartial()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy buildPartial()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy |
clear()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
clearAttachedResource()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clearAttachedResource()
The full resource name of the resource on which this IAM policy is set.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Cloud Asset Inventory Resource Name
Format
for more information.
string attached_resource = 1;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
clearFolders()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clearFolders()
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
clearOrganization()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clearOrganization()
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.
string organization = 7;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
clearPolicy()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clearPolicy()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
clearProject()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clearProject()
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
string project = 5;
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
clone()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
getAttachedResource()
public String getAttachedResource()
The full resource name of the resource on which this IAM policy is set.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Cloud Asset Inventory Resource Name
Format
for more information.
string attached_resource = 1;
Returns | |
---|---|
Type | Description |
String |
The attachedResource. |
getAttachedResourceBytes()
public ByteString getAttachedResourceBytes()
The full resource name of the resource on which this IAM policy is set.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Cloud Asset Inventory Resource Name
Format
for more information.
string attached_resource = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for attachedResource. |
getDefaultInstanceForType()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFolders(int index)
public String getFolders(int index)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The folders at the given index. |
getFoldersBytes(int index)
public ByteString getFoldersBytes(int index)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the folders at the given index. |
getFoldersCount()
public int getFoldersCount()
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Returns | |
---|---|
Type | Description |
int |
The count of folders. |
getFoldersList()
public ProtocolStringList getFoldersList()
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the folders. |
getOrganization()
public String getOrganization()
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.
string organization = 7;
Returns | |
---|---|
Type | Description |
String |
The organization. |
getOrganizationBytes()
public ByteString getOrganizationBytes()
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.
string organization = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for organization. |
getPolicy()
public Policy getPolicy()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Returns | |
---|---|
Type | Description |
com.google.iam.v1.Policy |
The policy. |
getPolicyBuilder()
public Policy.Builder getPolicyBuilder()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Returns | |
---|---|
Type | Description |
com.google.iam.v1.Policy.Builder |
getPolicyOrBuilder()
public PolicyOrBuilder getPolicyOrBuilder()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Returns | |
---|---|
Type | Description |
com.google.iam.v1.PolicyOrBuilder |
getProject()
public String getProject()
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
string project = 5;
Returns | |
---|---|
Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
string project = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for project. |
hasPolicy()
public boolean hasPolicy()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the policy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy other)
Parameter | |
---|---|
Name | Description |
other |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
mergePolicy(Policy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder mergePolicy(Policy value)
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Parameter | |
---|---|
Name | Description |
value |
com.google.iam.v1.Policy |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
setAttachedResource(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setAttachedResource(String value)
The full resource name of the resource on which this IAM policy is set.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Cloud Asset Inventory Resource Name
Format
for more information.
string attached_resource = 1;
Parameter | |
---|---|
Name | Description |
value |
String The attachedResource to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
setAttachedResourceBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setAttachedResourceBytes(ByteString value)
The full resource name of the resource on which this IAM policy is set.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Cloud Asset Inventory Resource Name
Format
for more information.
string attached_resource = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for attachedResource to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
setFolders(int index, String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setFolders(int index, String value)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.
repeated string folders = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The folders to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
setOrganization(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setOrganization(String value)
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.
string organization = 7;
Parameter | |
---|---|
Name | Description |
value |
String The organization to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
setOrganizationBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setOrganizationBytes(ByteString value)
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.
string organization = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for organization to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
setPolicy(Policy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setPolicy(Policy value)
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Parameter | |
---|---|
Name | Description |
value |
com.google.iam.v1.Policy |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
setPolicy(Policy.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setPolicy(Policy.Builder builderForValue)
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.iam.v1.Policy.Builder |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
setProject(String value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setProject(String value)
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
string project = 5;
Parameter | |
---|---|
Name | Description |
value |
String The project to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setProjectBytes(ByteString value)
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
string project = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for project to set. |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder |