Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.StreamsResource

The "streams" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.StreamsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Datastream.v1
Assembly: Google.Apis.Datastream.v1.dll
Syntax
public class ProjectsResource.LocationsResource.StreamsResource

Constructors

StreamsResource(IClientService)

Constructs a new resource.

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

Properties

Objects

Gets the Objects resource.

Declaration
public virtual ProjectsResource.LocationsResource.StreamsResource.ObjectsResource Objects { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.StreamsResource.ObjectsResource

Methods

Create(Stream, string)

Use this method to create a stream.

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

The body of the request.

string parent

Required. The parent that owns the collection of streams.

Returns
Type Description
ProjectsResource.LocationsResource.StreamsResource.CreateRequest

Delete(string)

Use this method to delete a stream.

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

Required. The name of the stream resource to delete.

Returns
Type Description
ProjectsResource.LocationsResource.StreamsResource.DeleteRequest

Get(string)

Use this method to get details about a stream.

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

Required. The name of the stream resource to get.

Returns
Type Description
ProjectsResource.LocationsResource.StreamsResource.GetRequest

List(string)

Use this method to list streams in a project and location.

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

Required. The parent that owns the collection of streams.

Returns
Type Description
ProjectsResource.LocationsResource.StreamsResource.ListRequest

Patch(Stream, string)

Use this method to update the configuration of a stream.

Declaration
public virtual ProjectsResource.LocationsResource.StreamsResource.PatchRequest Patch(Stream body, string name)
Parameters
Type Name Description
Stream body

The body of the request.

string name

Output only. Identifier. The stream's name.

Returns
Type Description
ProjectsResource.LocationsResource.StreamsResource.PatchRequest

Run(RunStreamRequest, string)

Use this method to start, resume or recover a stream with a non default CDC strategy.

Declaration
public virtual ProjectsResource.LocationsResource.StreamsResource.RunRequest Run(RunStreamRequest body, string name)
Parameters
Type Name Description
RunStreamRequest body

The body of the request.

string name

Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}

Returns
Type Description
ProjectsResource.LocationsResource.StreamsResource.RunRequest
In this article
Back to top Generated by DocFX