Class: Google::Apis::ServicemanagementV1::ConfigSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb

Overview

Represents a source file which is used to generate the service configuration defined by google.api.Service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ConfigSource

Returns a new instance of ConfigSource



801
802
803
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 801

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#filesArray<Google::Apis::ServicemanagementV1::ConfigFile>

Set of source configuration files that are used to generate a service configuration (google.api.Service). Corresponds to the JSON property files



792
793
794
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 792

def files
  @files
end

#idString

A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead. Corresponds to the JSON property id

Returns:

  • (String)


799
800
801
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 799

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



806
807
808
809
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 806

def update!(**args)
  @files = args[:files] if args.key?(:files)
  @id = args[:id] if args.key?(:id)
end