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
4348 4349 4350 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4348 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
4339 4340 4341 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4339 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
4346 4347 4348 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4346 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4353 4354 4355 4356 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4353 def update!(**args) @ref = args[:ref] if args.key?(:ref) @uri = args[:uri] if args.key?(:uri) end |