Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Subscription

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Subscription

Returns a new instance of GoogleCloudApigeeV1Subscription.



3881
3882
3883
# File 'generated/google/apis/apigee_v1/classes.rb', line 3881

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

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

Returns:

  • (String)


3879
3880
3881
# File 'generated/google/apis/apigee_v1/classes.rb', line 3879

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3886
3887
3888
# File 'generated/google/apis/apigee_v1/classes.rb', line 3886

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