Class: Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest

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

Request message for SubmitConfigSource method.

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) ⇒ SubmitConfigSourceRequest

Returns a new instance of SubmitConfigSourceRequest



4056
4057
4058
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4056

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

Instance Attribute Details

#config_sourceGoogle::Apis::ServicemanagementV1::ConfigSource

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



4046
4047
4048
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4046

def config_source
  @config_source
end

#validate_onlyBoolean Also known as: validate_only?

Optional. If set, this will result in the generation of a google.api.Service configuration based on the ConfigSource provided, but the generated config and the sources will NOT be persisted. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


4053
4054
4055
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4053

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4061
4062
4063
4064
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4061

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