Class: Google::Apis::RunV1alpha1::Destination
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::Destination
- 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
-
#ref ⇒ Google::Apis::RunV1alpha1::ObjectReference
ObjectReference contains enough information to let you inspect or modify the referred object.
-
#uri ⇒ String
URI is for direct URI Designations or used with the resulting URL from Addressable ObjectReference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Destination
constructor
A new instance of Destination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Destination
Returns a new instance of Destination
984 985 986 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 984 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ref ⇒ Google::Apis::RunV1alpha1::ObjectReference
ObjectReference contains enough information to let you inspect or modify the
referred object.
Corresponds to the JSON property ref
974 975 976 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 974 def ref @ref end |
#uri ⇒ String
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
982 983 984 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 982 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
989 990 991 992 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 989 def update!(**args) @ref = args[:ref] if args.key?(:ref) @uri = args[:uri] if args.key?(:uri) end |