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



4060
4061
4062
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4060

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



4051
4052
4053
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4051

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)


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