Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ListAttributesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb

Overview

The ListAttributes method's response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1ListAttributesResponse

Returns a new instance of GoogleCloudApihubV1ListAttributesResponse.



2962
2963
2964
# File 'lib/google/apis/apihub_v1/classes.rb', line 2962

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

Instance Attribute Details

#attributesArray<Google::Apis::ApihubV1::GoogleCloudApihubV1Attribute>

The list of all attributes. Corresponds to the JSON property attributes



2954
2955
2956
# File 'lib/google/apis/apihub_v1/classes.rb', line 2954

def attributes
  @attributes
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2960
2961
2962
# File 'lib/google/apis/apihub_v1/classes.rb', line 2960

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2967
2968
2969
2970
# File 'lib/google/apis/apihub_v1/classes.rb', line 2967

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