Class: Google::Apis::DeploymentmanagerAlpha::TypeProvider
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::TypeProvider
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/deploymentmanager_alpha/classes.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb
Overview
A type provider that describes a service-backed Type.
Instance Attribute Summary collapse
-
#collection_overrides ⇒ Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>
Allows resource handling overrides for specific collections Corresponds to the JSON property
collectionOverrides. -
#credential ⇒ Google::Apis::DeploymentmanagerAlpha::Credential
The credential used by Deployment Manager and TypeProvider.
-
#custom_certificate_authority_roots ⇒ Array<String>
List of up to 2 custom certificate authority roots to use for TLS authentication when making calls on behalf of this type provider.
-
#description ⇒ String
An optional textual description of the resource; provided by the client when the resource is created.
-
#descriptor_url ⇒ String
Descriptor Url for the this type provider.
-
#id ⇒ Fixnum
Output only.
-
#insert_time ⇒ String
Output only.
-
#labels ⇒ Array<Google::Apis::DeploymentmanagerAlpha::TypeProviderLabelEntry>
Map of One Platform labels; provided by the client when the resource is created or updated.
-
#name ⇒ String
Name of the resource; provided by the client when the resource is created.
-
#operation ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Represents an Operation resource.
-
#options ⇒ Google::Apis::DeploymentmanagerAlpha::Options
Options allows customized resource handling by Deployment Manager.
-
#self_link ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TypeProvider
constructor
A new instance of TypeProvider.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TypeProvider
Returns a new instance of TypeProvider.
2656 2657 2658 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2656 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collection_overrides ⇒ Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>
Allows resource handling overrides for specific collections
Corresponds to the JSON property collectionOverrides
2574 2575 2576 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2574 def collection_overrides @collection_overrides end |
#credential ⇒ Google::Apis::DeploymentmanagerAlpha::Credential
The credential used by Deployment Manager and TypeProvider. Only one of the
options is permitted.
Corresponds to the JSON property credential
2580 2581 2582 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2580 def credential @credential end |
#custom_certificate_authority_roots ⇒ Array<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
2590 2591 2592 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2590 def @custom_certificate_authority_roots end |
#description ⇒ String
An optional textual description of the resource; provided by the client when
the resource is created.
Corresponds to the JSON property description
2596 2597 2598 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2596 def description @description end |
#descriptor_url ⇒ String
Descriptor Url for the this type provider.
Corresponds to the JSON property descriptorUrl
2601 2602 2603 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2601 def descriptor_url @descriptor_url end |
#id ⇒ Fixnum
Output only. Unique identifier for the resource defined by the server.
Corresponds to the JSON property id
2606 2607 2608 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2606 def id @id end |
#insert_time ⇒ String
Output only. Creation timestamp in RFC3339 text format.
Corresponds to the JSON property insertTime
2611 2612 2613 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2611 def insert_time @insert_time end |
#labels ⇒ Array<Google::Apis::DeploymentmanagerAlpha::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
2620 2621 2622 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2620 def labels @labels end |
#name ⇒ String
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
2630 2631 2632 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2630 def name @name end |
#operation ⇒ Google::Apis::DeploymentmanagerAlpha::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 zoneOperations resource. For more information,
read Global, Regional, and Zonal Resources.
Corresponds to the JSON property operation
2644 2645 2646 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2644 def operation @operation end |
#options ⇒ Google::Apis::DeploymentmanagerAlpha::Options
Options allows customized resource handling by Deployment Manager.
Corresponds to the JSON property options
2649 2650 2651 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2649 def @options end |
#self_link ⇒ String
Output only. Self link for the type provider.
Corresponds to the JSON property selfLink
2654 2655 2656 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2654 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 2661 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 |