Class ProjectsResource.LocationsResource.ConnectionProfilesResource
The "connectionProfiles" collection of methods.
Inherited Members
Namespace: Google.Apis.Datastream.v1alpha1
Assembly: Google.Apis.Datastream.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionProfilesResource
Constructors
ConnectionProfilesResource(IClientService)
Constructs a new resource.
Declaration
public ConnectionProfilesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(ConnectionProfile, string)
Use this method to create a connection profile in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionProfilesResource.CreateRequest Create(ConnectionProfile body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ConnectionProfile | body | The body of the request. |
string | parent | Required. The parent that owns the collection of ConnectionProfiles. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionProfilesResource.CreateRequest |
Delete(string)
Use this method to delete a connection profile..
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionProfilesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the connection profile resource to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionProfilesResource.DeleteRequest |
Discover(DiscoverConnectionProfileRequest, string)
Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionProfilesResource.DiscoverRequest Discover(DiscoverConnectionProfileRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
DiscoverConnectionProfileRequest | body | The body of the request. |
string | parent | Required. The parent resource of the ConnectionProfile type. Must be in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionProfilesResource.DiscoverRequest |
Get(string)
Use this method to get details about a connection profile.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionProfilesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the connection profile resource to get. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionProfilesResource.GetRequest |
List(string)
Use this method to list connection profiles created in a project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionProfilesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent that owns the collection of connection profiles. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionProfilesResource.ListRequest |
Patch(ConnectionProfile, string)
Use this method to update the parameters of a connection profile.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionProfilesResource.PatchRequest Patch(ConnectionProfile body, string name)
Parameters
Type | Name | Description |
---|---|---|
ConnectionProfile | body | The body of the request. |
string | name | Output only. The resource's name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionProfilesResource.PatchRequest |