Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::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::Operation
Baseline implementation for the create_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::Operation
Baseline implementation for the delete_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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() -> String
The effective endpoint
- (String)
#get_instance_os_policies_compliance
def get_instance_os_policies_compliance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1alpha::InstanceOSPoliciesCompliance
Baseline implementation for the get_instance_os_policies_compliance REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::GetInstanceOSPoliciesComplianceRequest) — 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::V1alpha::InstanceOSPoliciesCompliance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::InstanceOSPoliciesCompliance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_inventory
def get_inventory(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1alpha::Inventory
Baseline implementation for the get_inventory REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::Inventory)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::OSPolicyAssignment
Baseline implementation for the get_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::OSPolicyAssignment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::OSPolicyAssignmentReport
Baseline implementation for the get_os_policy_assignment_report REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::OSPolicyAssignmentReport)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::VulnerabilityReport
Baseline implementation for the get_vulnerability_report REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::VulnerabilityReport)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::VulnerabilityReport) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_instance_os_policies_compliances
def list_instance_os_policies_compliances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1alpha::ListInstanceOSPoliciesCompliancesResponse
Baseline implementation for the list_instance_os_policies_compliances REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::ListInstanceOSPoliciesCompliancesRequest) — 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::V1alpha::ListInstanceOSPoliciesCompliancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::ListInstanceOSPoliciesCompliancesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_inventories
def list_inventories(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1alpha::ListInventoriesResponse
Baseline implementation for the list_inventories REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListInventoriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListOSPolicyAssignmentReportsResponse
Baseline implementation for the list_os_policy_assignment_reports REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListOSPolicyAssignmentReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListOSPolicyAssignmentRevisionsResponse
Baseline implementation for the list_os_policy_assignment_revisions REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListOSPolicyAssignmentRevisionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListOSPolicyAssignmentsResponse
Baseline implementation for the list_os_policy_assignments REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListOSPolicyAssignmentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListVulnerabilityReportsResponse
Baseline implementation for the list_vulnerability_reports REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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::V1alpha::ListVulnerabilityReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1alpha::ListVulnerabilityReportsResponse) — 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)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_os_policy_assignment
def update_os_policy_assignment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_os_policy_assignment REST call
- request_pb (::Google::Cloud::OsConfig::V1alpha::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)