Class: Google::Apis::NetworkmanagementV1::CloudRunJobInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudRunJobInfo

Returns a new instance of CloudRunJobInfo.



386
387
388
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 386

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Name of a Cloud Run job. Corresponds to the JSON property displayName

Returns:

  • (String)


373
374
375
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 373

def display_name
  @display_name
end

#locationString

Location in which this job is deployed. Corresponds to the JSON property location

Returns:

  • (String)


378
379
380
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 378

def location
  @location
end

#uriString

URI of the Cloud Run job. Format: projects/project_id/locations/location/ jobs/job_id` Corresponds to the JSON propertyuri`

Returns:

  • (String)


384
385
386
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 384

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



391
392
393
394
395
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 391

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