Class: Google::Apis::NetworkmanagementV1::CloudRunJobInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::CloudRunJobInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb
Overview
For display only. Metadata associated with a Cloud Run job.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a Cloud Run job.
-
#location ⇒ String
Location in which this job is deployed.
-
#uri ⇒ String
URI of a Cloud Run job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudRunJobInfo
constructor
A new instance of CloudRunJobInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudRunJobInfo
Returns a new instance of CloudRunJobInfo.
381 382 383 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Cloud Run job.
Corresponds to the JSON property displayName
369 370 371 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 369 def display_name @display_name end |
#location ⇒ String
Location in which this job is deployed.
Corresponds to the JSON property location
374 375 376 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 374 def location @location end |
#uri ⇒ String
URI of a Cloud Run job.
Corresponds to the JSON property uri
379 380 381 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 379 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
386 387 388 389 390 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 386 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @location = args[:location] if args.key?(:location) @uri = args[:uri] if args.key?(:uri) end |