Show / Hide Table of Contents

Class OrganizationsResource

The "organizations" collection of methods.

Inheritance
object
OrganizationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudAsset.v1beta1
Assembly: Google.Apis.CloudAsset.v1beta1.dll
Syntax
public class OrganizationsResource

Constructors

OrganizationsResource(IClientService)

Constructs a new resource.

Declaration
public OrganizationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Operations

Gets the Operations resource.

Declaration
public virtual OrganizationsResource.OperationsResource Operations { get; }
Property Value
Type Description
OrganizationsResource.OperationsResource

Methods

BatchGetAssetsHistory(string)

Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.

Declaration
public virtual OrganizationsResource.BatchGetAssetsHistoryRequest BatchGetAssetsHistory(string parent)
Parameters
Type Name Description
string parent

Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").

Returns
Type Description
OrganizationsResource.BatchGetAssetsHistoryRequest

ExportAssets(ExportAssetsRequest, string)

Exports assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.

Declaration
public virtual OrganizationsResource.ExportAssetsRequest ExportAssets(ExportAssetsRequest body, string parent)
Parameters
Type Name Description
ExportAssetsRequest body

The body of the request.

string parent

Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), a project number (such as "projects/12345"), or a folder number (such as "folders/123").

Returns
Type Description
OrganizationsResource.ExportAssetsRequest
In this article
Back to top Generated by DocFX