Class ProjectsResource.LocationsResource.StreamsResource
The "streams" collection of methods.
Inherited Members
Namespace: Google.Apis.Datastream.v1alpha1
Assembly: Google.Apis.Datastream.v1alpha1.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 |
FetchErrors(FetchErrorsRequest, string)
Use this method to fetch any errors associated with a stream.
Declaration
public virtual ProjectsResource.LocationsResource.StreamsResource.FetchErrorsRequest FetchErrors(FetchErrorsRequest body, string stream)
Parameters
Type | Name | Description |
---|---|---|
FetchErrorsRequest | body | The body of the request. |
string | stream | Name of the Stream resource for which to fetch any errors. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StreamsResource.FetchErrorsRequest |
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. The stream's name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.StreamsResource.PatchRequest |