Class: Google::Apis::DeploymentmanagerAlpha::BaseType

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

Overview

BaseType that describes a service-backed Type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BaseType

Returns a new instance of BaseType.



148
149
150
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 148

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

Instance Attribute Details

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

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



130
131
132
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 130

def collection_overrides
  @collection_overrides
end

#credentialGoogle::Apis::DeploymentmanagerAlpha::Credential

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



136
137
138
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 136

def credential
  @credential
end

#descriptor_urlString

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

Returns:

  • (String)


141
142
143
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 141

def descriptor_url
  @descriptor_url
end

#optionsGoogle::Apis::DeploymentmanagerAlpha::Options

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



146
147
148
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 146

def options
  @options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



153
154
155
156
157
158
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 153

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