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
Credential used by ConfigurableResourceTypes.
-
#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
2274 2275 2276 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2274 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
2216 2217 2218 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2216 def collection_overrides @collection_overrides end |
#credential ⇒ Google::Apis::DeploymentmanagerAlpha::Credential
Credential used by ConfigurableResourceTypes.
Corresponds to the JSON property credential
2221 2222 2223 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2221 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
2227 2228 2229 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2227 def description @description end |
#descriptor_url ⇒ String
Descriptor Url for the this type provider.
Corresponds to the JSON property descriptorUrl
2232 2233 2234 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2232 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
2237 2238 2239 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2237 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
2243 2244 2245 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2243 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
2252 2253 2254 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2252 def labels @labels end |
#name ⇒ String
Name of the type provider.
Corresponds to the JSON property name
2257 2258 2259 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2257 def name @name end |
#operation ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
An Operation resource, used to manage asynchronous API requests.
Corresponds to the JSON property operation
2262 2263 2264 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2262 def operation @operation end |
#options ⇒ Google::Apis::DeploymentmanagerAlpha::Options
Options allows customized resource handling by Deployment Manager.
Corresponds to the JSON property options
2267 2268 2269 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2267 def @options end |
#self_link ⇒ String
[Output Only] Self link for the type provider.
Corresponds to the JSON property selfLink
2272 2273 2274 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2272 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 |
# File 'generated/google/apis/deploymentmanager_alpha/classes.rb', line 2279 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 |