Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CloudstoragesourcesResource

The "cloudstoragesources" collection of methods.

Inheritance
System.Object
ProjectsResource.LocationsResource.CloudstoragesourcesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1alpha1
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class CloudstoragesourcesResource

Constructors

CloudstoragesourcesResource(IClientService)

Constructs a new resource.

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

Methods

Create(CloudStorageSource, String)

Creates a new cloudstoragesource.

Declaration
public virtual ProjectsResource.LocationsResource.CloudstoragesourcesResource.CreateRequest Create(CloudStorageSource body, string parent)
Parameters
Type Name Description
CloudStorageSource body

The body of the request.

System.String parent

Required. The project ID or project number in which this cloudstoragesource should be created.

Returns
Type Description
ProjectsResource.LocationsResource.CloudstoragesourcesResource.CreateRequest

Delete(String)

Rpc to delete a cloudstoragesource.

Declaration
public virtual ProjectsResource.LocationsResource.CloudstoragesourcesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
System.String name

Required. The name of the cloudstoragesource being deleted. If needed, replace {namespace_id} with the project ID.

Returns
Type Description
ProjectsResource.LocationsResource.CloudstoragesourcesResource.DeleteRequest

Get(String)

Rpc to get information about a cloudstoragesource.

Declaration
public virtual ProjectsResource.LocationsResource.CloudstoragesourcesResource.GetRequest Get(string name)
Parameters
Type Name Description
System.String name

Required. The name of the cloudstoragesource being retrieved. If needed, replace {namespace_id} with the project ID.

Returns
Type Description
ProjectsResource.LocationsResource.CloudstoragesourcesResource.GetRequest

List(String)

Rpc to list cloudstoragesources.

Declaration
public virtual ProjectsResource.LocationsResource.CloudstoragesourcesResource.ListRequest List(string parent)
Parameters
Type Name Description
System.String parent

Required. The project ID or project number from which the cloudstoragesources should be listed.

Returns
Type Description
ProjectsResource.LocationsResource.CloudstoragesourcesResource.ListRequest

ReplaceCloudStorageSource(CloudStorageSource, String)

Rpc to replace a cloudstoragesource. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.

Declaration
public virtual ProjectsResource.LocationsResource.CloudstoragesourcesResource.ReplaceCloudStorageSourceRequest ReplaceCloudStorageSource(CloudStorageSource body, string name)
Parameters
Type Name Description
CloudStorageSource body

The body of the request.

System.String name

Required. The name of the cloudstoragesource being retrieved. If needed, replace {namespace_id} with the project ID.

Returns
Type Description
ProjectsResource.LocationsResource.CloudstoragesourcesResource.ReplaceCloudStorageSourceRequest
Back to top