Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy (3.9.0)

public sealed class AnalyzeOrgPolicyGovernedAssetsResponse.Types.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].

Inheritance

object > AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

GovernedIamPolicy()

public GovernedIamPolicy()

GovernedIamPolicy(GovernedIamPolicy)

public GovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.Types.GovernedIamPolicy other)
Parameter
NameDescription
otherAnalyzeOrgPolicyGovernedAssetsResponseTypesGovernedIamPolicy

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

Policy

public Policy Policy { get; set; }

The IAM policy directly set on the given resource.

Property Value
TypeDescription
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
TypeDescription
string