Class: Google::Apis::DeploymentmanagerV2beta::TypeProvider

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

Overview

A type provider that describes a service-backed Type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TypeProvider

Returns a new instance of TypeProvider.



2360
2361
2362
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2360

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



2278
2279
2280
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2278

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



2284
2285
2286
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2284

def credential
  @credential
end

#custom_certificate_authority_rootsArray<String>

List of up to 2 custom certificate authority roots to use for TLS authentication when making calls on behalf of this type provider. If set, TLS authentication will exclusively use these roots instead of relying on publicly trusted certificate authorities when validating TLS certificate authenticity. The certificates must be in base64-encoded PEM format. The maximum size of each certificate must not exceed 10KB. Corresponds to the JSON property customCertificateAuthorityRoots

Returns:

  • (Array<String>)


2294
2295
2296
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2294

def custom_certificate_authority_roots
  @custom_certificate_authority_roots
end

#descriptionString

An optional textual description of the resource; provided by the client when the resource is created. Corresponds to the JSON property description

Returns:

  • (String)


2300
2301
2302
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2300

def description
  @description
end

#descriptor_urlString

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

Returns:

  • (String)


2305
2306
2307
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2305

def descriptor_url
  @descriptor_url
end

#idFixnum

Output only. Unique identifier for the resource defined by the server. Corresponds to the JSON property id

Returns:

  • (Fixnum)


2310
2311
2312
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2310

def id
  @id
end

#insert_timeString

Output only. Creation timestamp in RFC3339 text format. Corresponds to the JSON property insertTime

Returns:

  • (String)


2315
2316
2317
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2315

def insert_time
  @insert_time
end

#labelsArray<Google::Apis::DeploymentmanagerV2beta::TypeProviderLabelEntry>

Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([- a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)? Corresponds to the JSON property labels



2324
2325
2326
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2324

def labels
  @labels
end

#nameString

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a- z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Corresponds to the JSON property name

Returns:

  • (String)


2334
2335
2336
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2334

def name
  @name
end

#operationGoogle::Apis::DeploymentmanagerV2beta::Operation

Represents an Operation resource. Google Compute Engine has three Operation resources: * Global * Regional * Zonal You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the globalOperations resource. - For regional operations, use the regionOperations resource. - For zonal operations, use the zonalOperations resource. For more information, read Global, Regional, and Zonal Resources. Corresponds to the JSON property operation



2348
2349
2350
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2348

def operation
  @operation
end

#optionsGoogle::Apis::DeploymentmanagerV2beta::Options

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



2353
2354
2355
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2353

def options
  @options
end

Output only. Self link for the type provider. Corresponds to the JSON property selfLink

Returns:

  • (String)


2358
2359
2360
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2358

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
# File 'lib/google/apis/deploymentmanager_v2beta/classes.rb', line 2365

def update!(**args)
  @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
  @credential = args[:credential] if args.key?(:credential)
  @custom_certificate_authority_roots = args[:custom_certificate_authority_roots] if args.key?(:custom_certificate_authority_roots)
  @description = args[:description] if args.key?(:description)
  @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
  @id = args[:id] if args.key?(:id)
  @insert_time = args[:insert_time] if args.key?(:insert_time)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @operation = args[:operation] if args.key?(:operation)
  @options = args[:options] if args.key?(:options)
  @self_link = args[:self_link] if args.key?(:self_link)
end