class Google::Cloud::Lustre::V1::Lustre::Rest::Operations

def initialize

Other tags:
    Yieldparam: config -

Other tags:
    Yield: - Configure the Client client.
def initialize
  # Create the configuration object
  @config = Configuration.new Operations.configure
  # Yield the configuration if needed
  yield @config if block_given?
  # Create credentials
  credentials = @config.credentials
  credentials ||= Credentials.default scope: @config.scope
  if credentials.is_a?(::String) || credentials.is_a?(::Hash)
    credentials = Credentials.new credentials, scope: @config.scope
  end
  @quota_project_id = @config.quota_project
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
  @operations_stub = OperationsServiceStub.new(
    endpoint: @config.endpoint,
    endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
    universe_domain: @config.universe_domain,
    credentials: credentials
  )
  # Used by an LRO wrapper for some methods of this service
  @operations_client = self
end