Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::AppHub::Rest::ServiceStub.
REST service stub for the AppHub service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_application
def create_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_application REST call
- request_pb (::Google::Cloud::AppHub::V1::CreateApplicationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_service
def create_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_service REST call
- request_pb (::Google::Cloud::AppHub::V1::CreateServiceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_service_project_attachment
def create_service_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_service_project_attachment REST call
- request_pb (::Google::Cloud::AppHub::V1::CreateServiceProjectAttachmentRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_workload
def create_workload(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_workload REST call
- request_pb (::Google::Cloud::AppHub::V1::CreateWorkloadRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_application
def delete_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_application REST call
- request_pb (::Google::Cloud::AppHub::V1::DeleteApplicationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_service
def delete_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_service REST call
- request_pb (::Google::Cloud::AppHub::V1::DeleteServiceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_service_project_attachment
def delete_service_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_service_project_attachment REST call
- request_pb (::Google::Cloud::AppHub::V1::DeleteServiceProjectAttachmentRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_workload
def delete_workload(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_workload REST call
- request_pb (::Google::Cloud::AppHub::V1::DeleteWorkloadRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#detach_service_project_attachment
def detach_service_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::DetachServiceProjectAttachmentResponse
Baseline implementation for the detach_service_project_attachment REST call
- request_pb (::Google::Cloud::AppHub::V1::DetachServiceProjectAttachmentRequest) — 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::AppHub::V1::DetachServiceProjectAttachmentResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::DetachServiceProjectAttachmentResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_application
def get_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::Application
Baseline implementation for the get_application REST call
- request_pb (::Google::Cloud::AppHub::V1::GetApplicationRequest) — 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::AppHub::V1::Application)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::Application) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_discovered_service
def get_discovered_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::DiscoveredService
Baseline implementation for the get_discovered_service REST call
- request_pb (::Google::Cloud::AppHub::V1::GetDiscoveredServiceRequest) — 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::AppHub::V1::DiscoveredService)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::DiscoveredService) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_discovered_workload
def get_discovered_workload(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::DiscoveredWorkload
Baseline implementation for the get_discovered_workload REST call
- request_pb (::Google::Cloud::AppHub::V1::GetDiscoveredWorkloadRequest) — 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::AppHub::V1::DiscoveredWorkload)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::DiscoveredWorkload) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_service
def get_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::Service
Baseline implementation for the get_service REST call
- request_pb (::Google::Cloud::AppHub::V1::GetServiceRequest) — 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::AppHub::V1::Service)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::Service) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_service_project_attachment
def get_service_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::ServiceProjectAttachment
Baseline implementation for the get_service_project_attachment REST call
- request_pb (::Google::Cloud::AppHub::V1::GetServiceProjectAttachmentRequest) — 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::AppHub::V1::ServiceProjectAttachment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::ServiceProjectAttachment) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_workload
def get_workload(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::Workload
Baseline implementation for the get_workload REST call
- request_pb (::Google::Cloud::AppHub::V1::GetWorkloadRequest) — 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::AppHub::V1::Workload)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::Workload) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_applications
def list_applications(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::ListApplicationsResponse
Baseline implementation for the list_applications REST call
- request_pb (::Google::Cloud::AppHub::V1::ListApplicationsRequest) — 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::AppHub::V1::ListApplicationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::ListApplicationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_discovered_services
def list_discovered_services(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::ListDiscoveredServicesResponse
Baseline implementation for the list_discovered_services REST call
- request_pb (::Google::Cloud::AppHub::V1::ListDiscoveredServicesRequest) — 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::AppHub::V1::ListDiscoveredServicesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::ListDiscoveredServicesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_discovered_workloads
def list_discovered_workloads(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::ListDiscoveredWorkloadsResponse
Baseline implementation for the list_discovered_workloads REST call
- request_pb (::Google::Cloud::AppHub::V1::ListDiscoveredWorkloadsRequest) — 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::AppHub::V1::ListDiscoveredWorkloadsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::ListDiscoveredWorkloadsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_service_project_attachments
def list_service_project_attachments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::ListServiceProjectAttachmentsResponse
Baseline implementation for the list_service_project_attachments REST call
- request_pb (::Google::Cloud::AppHub::V1::ListServiceProjectAttachmentsRequest) — 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::AppHub::V1::ListServiceProjectAttachmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::ListServiceProjectAttachmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_services
def list_services(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::ListServicesResponse
Baseline implementation for the list_services REST call
- request_pb (::Google::Cloud::AppHub::V1::ListServicesRequest) — 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::AppHub::V1::ListServicesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::ListServicesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_workloads
def list_workloads(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::ListWorkloadsResponse
Baseline implementation for the list_workloads REST call
- request_pb (::Google::Cloud::AppHub::V1::ListWorkloadsRequest) — 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::AppHub::V1::ListWorkloadsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::ListWorkloadsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#lookup_discovered_service
def lookup_discovered_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::LookupDiscoveredServiceResponse
Baseline implementation for the lookup_discovered_service REST call
- request_pb (::Google::Cloud::AppHub::V1::LookupDiscoveredServiceRequest) — 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::AppHub::V1::LookupDiscoveredServiceResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::LookupDiscoveredServiceResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#lookup_discovered_workload
def lookup_discovered_workload(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::LookupDiscoveredWorkloadResponse
Baseline implementation for the lookup_discovered_workload REST call
- request_pb (::Google::Cloud::AppHub::V1::LookupDiscoveredWorkloadRequest) — 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::AppHub::V1::LookupDiscoveredWorkloadResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::LookupDiscoveredWorkloadResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#lookup_service_project_attachment
def lookup_service_project_attachment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppHub::V1::LookupServiceProjectAttachmentResponse
Baseline implementation for the lookup_service_project_attachment REST call
- request_pb (::Google::Cloud::AppHub::V1::LookupServiceProjectAttachmentRequest) — 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::AppHub::V1::LookupServiceProjectAttachmentResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppHub::V1::LookupServiceProjectAttachmentResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_application
def update_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_application REST call
- request_pb (::Google::Cloud::AppHub::V1::UpdateApplicationRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_service
def update_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_service REST call
- request_pb (::Google::Cloud::AppHub::V1::UpdateServiceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_workload
def update_workload(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_workload REST call
- request_pb (::Google::Cloud::AppHub::V1::UpdateWorkloadRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)