Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CloudpubsubsourcesResource

The "cloudpubsubsources" collection of methods.

Inheritance
System.Object
ProjectsResource.LocationsResource.CloudpubsubsourcesResource
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 CloudpubsubsourcesResource

Constructors

CloudpubsubsourcesResource(IClientService)

Constructs a new resource.

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

Methods

Create(CloudPubSubSource, String)

Creates a new cloudpubsubsource.

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

The body of the request.

System.String parent

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

Returns
Type Description
ProjectsResource.LocationsResource.CloudpubsubsourcesResource.CreateRequest

Delete(String)

Rpc to delete a cloudpubsubsource.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.CloudpubsubsourcesResource.DeleteRequest

Get(String)

Rpc to get information about a cloudpubsubsource.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.CloudpubsubsourcesResource.GetRequest

List(String)

Rpc to list cloudpubsubsources.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.CloudpubsubsourcesResource.ListRequest
Back to top