Class: Google::Apis::RunV1alpha1::Destination

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Destination

Returns a new instance of Destination.



1643
1644
1645
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1643

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

Instance Attribute Details

#refGoogle::Apis::RunV1alpha1::ObjectReference

ObjectReference contains enough information to let you inspect or modify the referred object. Corresponds to the JSON property ref



1633
1634
1635
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1633

def ref
  @ref
end

#uriString

URI is for direct URI Designations or used with the resulting URL from Addressable ObjectReference. If used with an ObjectReference, will be appended to the path of the resulting URL from the Addressable.

  • optional Corresponds to the JSON property uri

Returns:

  • (String)


1641
1642
1643
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1641

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1648
1649
1650
1651
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1648

def update!(**args)
  @ref = args[:ref] if args.key?(:ref)
  @uri = args[:uri] if args.key?(:uri)
end