Class ProjectsResource.LocationsResource.ConnectionProfilesResource.DiscoverRequest
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.
Inheritance
ProjectsResource.LocationsResource.ConnectionProfilesResource.DiscoverRequest
Inherited Members
Namespace: Google.Apis.Datastream.v1alpha1
Assembly: Google.Apis.Datastream.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionProfilesResource.DiscoverRequest : DatastreamBaseServiceRequest<DiscoverConnectionProfileResponse>, IClientServiceRequest<DiscoverConnectionProfileResponse>, IClientServiceRequest
Constructors
DiscoverRequest(IClientService, DiscoverConnectionProfileRequest, string)
Constructs a new Discover request.
Declaration
public DiscoverRequest(IClientService service, DiscoverConnectionProfileRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DiscoverConnectionProfileRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastream.v1alpha1.Data.DiscoverConnectionProfileResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastream.v1alpha1.Data.DiscoverConnectionProfileResponse>.MethodName
Parent
Required. The parent resource of the ConnectionProfile type. Must be in the format
projects/*/locations/*
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastream.v1alpha1.Data.DiscoverConnectionProfileResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Datastream.v1alpha1.Data.DiscoverConnectionProfileResponse>.GetBody()
InitParameters()
Initializes Discover parameter list.
Declaration
protected override void InitParameters()