Class: Google::Apis::DeploymentmanagerAlpha::TypeProvider
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::TypeProvider
- 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
-
#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.
-
#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] Unique identifier for the resource; defined by the server.
-
#insert_time ⇒ String
[Output Only] Timestamp when the type provider was created, in RFC3339 text format.
-
#labels ⇒ Array<Google::Apis::DeploymentmanagerAlpha::TypeProviderLabelEntry>
Map of labels; provided by the client when the resource is created or updated.
-
#name ⇒ String
Name of the type provider.
-
#operation ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
An Operation resource, used to manage asynchronous API requests.
-
#options ⇒ Google::Apis::DeploymentmanagerAlpha::Options
Options allows customized resource handling by Deployment Manager.
-
#self_link ⇒ String
[Output Only] Self link for the type provider.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TypeProvider
constructor
A new instance of TypeProvider.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TypeProvider
Returns a new instance of TypeProvider
2342 2343 2344 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2342 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
2283 2284 2285 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2283 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
2289 2290 2291 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2289 def credential @credential 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
2295 2296 2297 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2295 def description @description end |
#descriptor_url ⇒ String
Descriptor Url for the this type provider.
Corresponds to the JSON property descriptorUrl
2300 2301 2302 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2300 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
2305 2306 2307 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2305 def id @id end |
#insert_time ⇒ String
[Output Only] Timestamp when the type provider was created, in RFC3339 text
format.
Corresponds to the JSON property insertTime
2311 2312 2313 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2311 def insert_time @insert_time end |
#labels ⇒ Array<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
2320 2321 2322 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2320 def labels @labels end |
#name ⇒ String
Name of the type provider.
Corresponds to the JSON property name
2325 2326 2327 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2325 def name @name end |
#operation ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
An Operation resource, used to manage asynchronous API requests.
Corresponds to the JSON property operation
2330 2331 2332 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2330 def operation @operation end |
#options ⇒ Google::Apis::DeploymentmanagerAlpha::Options
Options allows customized resource handling by Deployment Manager.
Corresponds to the JSON property options
2335 2336 2337 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2335 def @options end |
#self_link ⇒ String
[Output Only] Self link for the type provider.
Corresponds to the JSON property selfLink
2340 2341 2342 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2340 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2347 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 |