Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::RuntimeProjectAttachmentService::Rest::ServiceStub.
REST service stub for the RuntimeProjectAttachmentService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_runtime_project_attachment
def create_runtime_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment
Baseline implementation for the create_runtime_project_attachment REST call
- request_pb (::Google::Cloud::ApiHub::V1::CreateRuntimeProjectAttachmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_runtime_project_attachment
def delete_runtime_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_runtime_project_attachment REST call
- request_pb (::Google::Cloud::ApiHub::V1::DeleteRuntimeProjectAttachmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_runtime_project_attachment
def get_runtime_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment
Baseline implementation for the get_runtime_project_attachment REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetRuntimeProjectAttachmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::RuntimeProjectAttachment) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_runtime_project_attachments
def list_runtime_project_attachments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsResponse
Baseline implementation for the list_runtime_project_attachments REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListRuntimeProjectAttachmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#lookup_runtime_project_attachment
def lookup_runtime_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentResponse
Baseline implementation for the lookup_runtime_project_attachment REST call
- request_pb (::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::LookupRuntimeProjectAttachmentResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)