Class: Google::Apis::DeploymentmanagerAlpha::TypeProvider

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

A type provider 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) ⇒ TypeProvider

Returns a new instance of TypeProvider



2574
2575
2576
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2574

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



2506
2507
2508
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2506

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



2512
2513
2514
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2512

def credential
  @credential
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)


2518
2519
2520
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2518

def description
  @description
end

#descriptor_urlString

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

Returns:

  • (String)


2523
2524
2525
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2523

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)


2528
2529
2530
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2528

def id
  @id
end

#insert_timeString

Output only. Timestamp when the type provider was created, in RFC3339 text format. Corresponds to the JSON property insertTime

Returns:

  • (String)


2534
2535
2536
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2534

def insert_time
  @insert_time
end

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

Map of 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? Label values must be between 0 and 63 characters long and must conform to the regular expression (a-z?)? Corresponds to the JSON property labels



2543
2544
2545
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2543

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? 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)


2553
2554
2555
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2553

def name
  @name
end

#operationGoogle::Apis::DeploymentmanagerAlpha::Operation

An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta. regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) Corresponds to the JSON property operation



2562
2563
2564
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2562

def operation
  @operation
end

#optionsGoogle::Apis::DeploymentmanagerAlpha::Options

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



2567
2568
2569
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2567

def options
  @options
end

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

Returns:

  • (String)


2572
2573
2574
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2572

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2579

def update!(**args)
  @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
  @credential = args[:credential] if args.key?(:credential)
  @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