Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Subscription
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Subscription
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb
Overview
Pub/Sub subscription of an environment.
Instance Attribute Summary collapse
-
#name ⇒ String
Full name of the Pub/Sub subcription.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Subscription
constructor
A new instance of GoogleCloudApigeeV1Subscription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Subscription
Returns a new instance of GoogleCloudApigeeV1Subscription.
5774 5775 5776 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 5774 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Full name of the Pub/Sub subcription. Use the following structure in your
request: subscription "projects/foo/subscription/bar"
Corresponds to the JSON property name
5772 5773 5774 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 5772 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5779 5780 5781 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 5779 def update!(**args) @name = args[:name] if args.key?(:name) end |