Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::OsConfigZonalService::Rest::ServiceStub (v0.8.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)