Show / Hide Table of Contents

Class ResourcesResource

The "resources" collection of methods.

Inheritance
object
ResourcesResource
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.v1p1beta1
Assembly: Google.Apis.CloudAsset.v1p1beta1.dll
Syntax
public class ResourcesResource

Constructors

ResourcesResource(IClientService)

Constructs a new resource.

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

Methods

SearchAll(string)

Searches all the resources within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the resources within a scope, even if they don't have .get permission of all the resources. Callers should have cloudasset.assets.searchAllResources permission on the requested scope, otherwise the request will be rejected.

Declaration
public virtual ResourcesResource.SearchAllRequest SearchAll(string scope)
Parameters
Type Name Description
string scope

Required. The relative name of an asset. The search is limited to the resources within the scope. The allowed value must be: * Organization number (such as "organizations/123") * Folder number (such as "folders/1234") * Project number (such as "projects/12345") * Project ID (such as "projects/abc")

Returns
Type Description
ResourcesResource.SearchAllRequest
In this article
Back to top Generated by DocFX