Class: Google::Apis::DeploymentmanagerV2beta::TypeProvider
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta::TypeProvider
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb
Overview
A type provider that describes a service-backed Type.
Instance Attribute Summary collapse
-
#collection_overrides ⇒ Array<Google::Apis::DeploymentmanagerV2beta::CollectionOverride>
Allows resource handling overrides for specific collections Corresponds to the JSON property
collectionOverrides
. -
#credential ⇒ Google::Apis::DeploymentmanagerV2beta::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::DeploymentmanagerV2beta::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::DeploymentmanagerV2beta::Operation
An Operation resource, used to manage asynchronous API requests.
-
#options ⇒ Google::Apis::DeploymentmanagerV2beta::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
2314 2315 2316 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collection_overrides ⇒ Array<Google::Apis::DeploymentmanagerV2beta::CollectionOverride>
Allows resource handling overrides for specific collections
Corresponds to the JSON property collectionOverrides
2255 2256 2257 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2255 def collection_overrides @collection_overrides end |
#credential ⇒ Google::Apis::DeploymentmanagerV2beta::Credential
The credential used by Deployment Manager and TypeProvider. Only one of the
options is permitted.
Corresponds to the JSON property credential
2261 2262 2263 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2261 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
2267 2268 2269 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2267 def description @description end |
#descriptor_url ⇒ String
Descriptor Url for the this type provider.
Corresponds to the JSON property descriptorUrl
2272 2273 2274 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2272 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
2277 2278 2279 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2277 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
2283 2284 2285 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2283 def insert_time @insert_time end |
#labels ⇒ Array<Google::Apis::DeploymentmanagerV2beta::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
2292 2293 2294 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2292 def labels @labels end |
#name ⇒ String
Name of the type provider.
Corresponds to the JSON property name
2297 2298 2299 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2297 def name @name end |
#operation ⇒ Google::Apis::DeploymentmanagerV2beta::Operation
An Operation resource, used to manage asynchronous API requests.
Corresponds to the JSON property operation
2302 2303 2304 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2302 def operation @operation end |
#options ⇒ Google::Apis::DeploymentmanagerV2beta::Options
Options allows customized resource handling by Deployment Manager.
Corresponds to the JSON property options
2307 2308 2309 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2307 def @options end |
#self_link ⇒ String
[Output Only] Self link for the type provider.
Corresponds to the JSON property selfLink
2312 2313 2314 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2312 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 2319 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 |