class OCI::ApmSynthetics::ApmSyntheticClientCompositeOperations
This class provides a wrapper around {OCI::ApmSynthetics::ApmSyntheticClient} and offers convenience methods for operations that would otherwise need to be chained together. For example, instead of performing an action on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource to enter a given state, you can call a single method in this class to accomplish the same functionality
Attributes
service_client[R]
The {OCI::ApmSynthetics::ApmSyntheticClient} used to communicate with the service_client
@return [OCI::ApmSynthetics::ApmSyntheticClient]
Public Class Methods
new(service_client = OCI::ApmSynthetics::ApmSyntheticClient.new)
click to toggle source
Initializes a new ApmSyntheticClientCompositeOperations
@param [OCI::ApmSynthetics::ApmSyntheticClient] service_client
The client used to communicate with the service.
Defaults to a new service client created via {OCI::ApmSynthetics::ApmSyntheticClient#initialize} with no arguments
# File lib/oci/apm_synthetics/apm_synthetic_client_composite_operations.rb, line 20 def initialize(service_client = OCI::ApmSynthetics::ApmSyntheticClient.new) @service_client = service_client end