Class: Google::Apis::RunV1alpha1::SubscriberSpec
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::SubscriberSpec
- 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
Reference to a 'known' endpoint where no resolving is done.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubscriberSpec
constructor
A new instance of SubscriberSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SubscriberSpec
Returns a new instance of SubscriberSpec
3742 3743 3744 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3742 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
3733 3734 3735 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3733 def ref @ref end |
#uri ⇒ String
Reference to a 'known' endpoint where no resolving is done.
http://k8s-service for example
http://myexternalhandler.example.com/foo/bar
Corresponds to the JSON property uri
3740 3741 3742 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3740 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3747 3748 3749 3750 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3747 def update!(**args) @ref = args[:ref] if args.key?(:ref) @uri = args[:uri] if args.key?(:uri) end |