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
4060 4061 4062 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4060 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
4051 4052 4053 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4051 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
4058 4059 4060 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4058 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4065 4066 4067 4068 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4065 def update!(**args) @ref = args[:ref] if args.key?(:ref) @uri = args[:uri] if args.key?(:uri) end |