Class ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource
The "service_bindings" collection of methods.
Inheritance
Namespace: Google.Apis.ServiceBroker.v1beta1
Assembly: Google.Apis.ServiceBroker.v1beta1.dll
Syntax
public class ServiceBindingsResource : object
Constructors
ServiceBindingsResource(IClientService)
Constructs a new resource.
Declaration
public ServiceBindingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudServicebrokerV1beta1Binding, String, String)
CreateBinding generates a service binding to an existing service instance. See ProviServiceInstance for async operation details.
Declaration
public virtual ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.CreateRequest Create(GoogleCloudServicebrokerV1beta1Binding body, string parent, string bindingId)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudServicebrokerV1beta1Binding | body | The body of the request. |
System.String | parent | The GCP container. Must match
|
System.String | bindingId | The id of the binding. Must be unique within GCP project. Maximum length is 64, GUID recommended. Required. |
Returns
Type | Description |
---|---|
ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.CreateRequest |
Delete(String)
Unbinds from a service instance. For synchronous/asynchronous request details see CreateServiceInstance method. If binding does not exist HTTP 410 status will be returned.
Declaration
public virtual ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name must match |
Returns
Type | Description |
---|---|
ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.DeleteRequest |
Get(String)
GetBinding returns the binding information.
Declaration
public virtual ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name must match
|
Returns
Type | Description |
---|---|
ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.GetRequest |
GetLastOperation(String)
Returns the state of the last operation for the binding. Only last (or current) operation can be polled.
Declaration
public virtual ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.GetLastOperationRequest GetLastOperation(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name must match |
Returns
Type | Description |
---|---|
ProjectsResource.BrokersResource.V2Resource.ServiceInstancesResource.ServiceBindingsResource.GetLastOperationRequest |