public sealed class AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy : IMessage<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IEquatable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IDeepCloneable<AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy>, IBufferMessage, IMessageReference 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
IMessageAnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedIamPolicy, IEquatableAnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedIamPolicy, IDeepCloneableAnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedIamPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
GovernedIamPolicy()
public GovernedIamPolicy()GovernedIamPolicy(GovernedIamPolicy)
public GovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
AnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedIamPolicy |
Properties
AssetType
public string AssetType { get; set; }The asset type of the
[AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
Example:
cloudresourcemanager.googleapis.com/Project
See Cloud Asset Inventory Supported Asset
Types
for all supported asset types.
| Property Value | |
|---|---|
| Type | Description |
string |
|
AttachedResource
public string AttachedResource { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Folders
public RepeatedField<string> Folders { get; }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.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Organization
public string Organization { get; set; }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.
| 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 format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.
| Property Value | |
|---|---|
| Type | Description |
string |
|