Class: Google::Apis::RunV1alpha1::SubscriberSpec

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) ⇒ SubscriberSpec

Returns a new instance of SubscriberSpec



3770
3771
3772
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3770

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



3761
3762
3763
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3761

def ref
  @ref
end

#uriString

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

Returns:

  • (String)


3768
3769
3770
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3768

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3775
3776
3777
3778
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 3775

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