Show / Hide Table of Contents

Class OrganizationsResource.AssetsResource

The "assets" collection of methods.

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

Constructors

AssetsResource(IClientService)

Constructs a new resource.

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

Methods

Group(GroupAssetsRequest, string)

Filters an organization's assets and groups them by their specified properties.

Declaration
public virtual OrganizationsResource.AssetsResource.GroupRequest Group(GroupAssetsRequest body, string parent)
Parameters
Type Name Description
GroupAssetsRequest body

The body of the request.

string parent

Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".

Returns
Type Description
OrganizationsResource.AssetsResource.GroupRequest

List(string)

Lists an organization's assets.

Declaration
public virtual OrganizationsResource.AssetsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Name of the organization assets should belong to. Its format is "organizations/[organization_id]".

Returns
Type Description
OrganizationsResource.AssetsResource.ListRequest

RunDiscovery(RunAssetDiscoveryRequest, string)

Runs asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

Declaration
public virtual OrganizationsResource.AssetsResource.RunDiscoveryRequest RunDiscovery(RunAssetDiscoveryRequest body, string parent)
Parameters
Type Name Description
RunAssetDiscoveryRequest body

The body of the request.

string parent

Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]".

Returns
Type Description
OrganizationsResource.AssetsResource.RunDiscoveryRequest

UpdateSecurityMarks(GoogleCloudSecuritycenterV1beta1SecurityMarks, string)

Updates security marks.

Declaration
public virtual OrganizationsResource.AssetsResource.UpdateSecurityMarksRequest UpdateSecurityMarks(GoogleCloudSecuritycenterV1beta1SecurityMarks body, string name)
Parameters
Type Name Description
GoogleCloudSecuritycenterV1beta1SecurityMarks body

The body of the request.

string name

The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks".

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