Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::OsConfigZonalService::Rest::ServiceStub.
REST service stub for the OsConfigZonalService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_os_policy_assignment
def create_os_policy_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1::CreateOSPolicyAssignmentRequest) — 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_os_policy_assignment
def delete_os_policy_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1::DeleteOSPolicyAssignmentRequest) — 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)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_inventory
def get_inventory(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::InventoryBaseline implementation for the get_inventory REST call
- request_pb (::Google::Cloud::OsConfig::V1::GetInventoryRequest) — 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::OsConfig::V1::Inventory)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::Inventory) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_os_policy_assignment
def get_os_policy_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::OSPolicyAssignmentBaseline implementation for the get_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1::GetOSPolicyAssignmentRequest) — 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::OsConfig::V1::OSPolicyAssignment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::OSPolicyAssignment) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_os_policy_assignment_report
def get_os_policy_assignment_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::OSPolicyAssignmentReportBaseline implementation for the get_os_policy_assignment_report REST call
- request_pb (::Google::Cloud::OsConfig::V1::GetOSPolicyAssignmentReportRequest) — 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::OsConfig::V1::OSPolicyAssignmentReport)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::OSPolicyAssignmentReport) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_vulnerability_report
def get_vulnerability_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::VulnerabilityReportBaseline implementation for the get_vulnerability_report REST call
- request_pb (::Google::Cloud::OsConfig::V1::GetVulnerabilityReportRequest) — 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::OsConfig::V1::VulnerabilityReport)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::VulnerabilityReport) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_inventories
def list_inventories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListInventoriesResponseBaseline implementation for the list_inventories REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListInventoriesRequest) — 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::OsConfig::V1::ListInventoriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListInventoriesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_os_policy_assignment_reports
def list_os_policy_assignment_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentReportsResponseBaseline implementation for the list_os_policy_assignment_reports REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentReportsRequest) — 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::OsConfig::V1::ListOSPolicyAssignmentReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentReportsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_os_policy_assignment_revisions
def list_os_policy_assignment_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentRevisionsResponseBaseline implementation for the list_os_policy_assignment_revisions REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentRevisionsRequest) — 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::OsConfig::V1::ListOSPolicyAssignmentRevisionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentRevisionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_os_policy_assignments
def list_os_policy_assignments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentsResponseBaseline implementation for the list_os_policy_assignments REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentsRequest) — 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::OsConfig::V1::ListOSPolicyAssignmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_vulnerability_reports
def list_vulnerability_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListVulnerabilityReportsResponseBaseline implementation for the list_vulnerability_reports REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListVulnerabilityReportsRequest) — 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::OsConfig::V1::ListVulnerabilityReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListVulnerabilityReportsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_os_policy_assignment
def update_os_policy_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1::UpdateOSPolicyAssignmentRequest) — 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)