public sealed class GovernedIamPolicy : IMessage<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IEquatable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IDeepCloneable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy.
The IAM policies governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
Implements
IMessage<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IEquatable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IDeepCloneable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
GovernedIamPolicy()
public GovernedIamPolicy()
GovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy)
public GovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy other)
Parameter | |
---|---|
Name | Description |
other | AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy |
Properties
AttachedResource
public string AttachedResource { get; set; }
The full resource name of the resource associated with this IAM policy.
Example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Cloud Asset Inventory Resource Name
Format
for more information.
Property Value | |
---|---|
Type | Description |
String |
Folders
public RepeatedField<string> Folders { get; }
The folder(s) that this IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs(directly or cascadingly) to one or more folders.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Organization
public string Organization { get; set; }
The organization that this IAM policy belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs(directly or cascadingly) to an organization.
Property Value | |
---|---|
Type | Description |
String |
Policy
public Policy Policy { get; set; }
The IAM policy directly set on the given resource.
Property Value | |
---|---|
Type | Description |
Policy |
Project
public string Project { get; set; }
The project that this IAM policy belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
Property Value | |
---|---|
Type | Description |
String |