Class: Google::Apis::DeploymentmanagerV2beta::BaseType

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

Overview

BaseType that describes a service-backed Type.

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

Returns a new instance of BaseType



173
174
175
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 173

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

Instance Attribute Details

#collection_overridesArray<Google::Apis::DeploymentmanagerV2beta::CollectionOverride>

Allows resource handling overrides for specific collections Corresponds to the JSON property collectionOverrides



155
156
157
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 155

def collection_overrides
  @collection_overrides
end

#credentialGoogle::Apis::DeploymentmanagerV2beta::Credential

The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted. Corresponds to the JSON property credential



161
162
163
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 161

def credential
  @credential
end

#descriptor_urlString

Descriptor Url for the this type. Corresponds to the JSON property descriptorUrl

Returns:

  • (String)


166
167
168
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 166

def descriptor_url
  @descriptor_url
end

#optionsGoogle::Apis::DeploymentmanagerV2beta::Options

Options allows customized resource handling by Deployment Manager. Corresponds to the JSON property options



171
172
173
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 171

def options
  @options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



178
179
180
181
182
183
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 178

def update!(**args)
  @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
  @credential = args[:credential] if args.key?(:credential)
  @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
  @options = args[:options] if args.key?(:options)
end