Show / Hide Table of Contents

Class FoldersResource.AssetsResource

The "assets" collection of methods.

Inheritance
object
FoldersResource.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.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class FoldersResource.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 FoldersResource.AssetsResource.GroupRequest Group(GroupAssetsRequest body, string parent)
Parameters
Type Name Description
GroupAssetsRequest body

The body of the request.

string parent

Required. The name of the parent to group the assets by. Its format is organizations/[organization_id], folders/[folder_id], or projects/[project_id].

Returns
Type Description
FoldersResource.AssetsResource.GroupRequest

List(string)

Lists an organization's assets.

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

Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: organizations/[organization_id], folders/[folder_id], or projects/[project_id].

Returns
Type Description
FoldersResource.AssetsResource.ListRequest

UpdateSecurityMarks(SecurityMarks, string)

Updates security marks.

Declaration
public virtual FoldersResource.AssetsResource.UpdateSecurityMarksRequest UpdateSecurityMarks(SecurityMarks body, string name)
Parameters
Type Name Description
SecurityMarks 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
FoldersResource.AssetsResource.UpdateSecurityMarksRequest
In this article
Back to top Generated by DocFX