Class: Google::Apis::ConnectorsV2::ListResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::ListResourcesResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
-
#next_page_token ⇒ String
Next page token if more resources available.
-
#resources ⇒ Array<Google::Apis::ConnectorsV2::Resource>
List of available resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListResourcesResponse
constructor
A new instance of ListResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListResourcesResponse
Returns a new instance of ListResourcesResponse.
1536 1537 1538 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 1536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
Corresponds to the JSON property metadata
1524 1525 1526 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 1524 def @metadata end |
#next_page_token ⇒ String
Next page token if more resources available.
Corresponds to the JSON property nextPageToken
1529 1530 1531 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 1529 def next_page_token @next_page_token end |
#resources ⇒ Array<Google::Apis::ConnectorsV2::Resource>
List of available resources.
Corresponds to the JSON property resources
1534 1535 1536 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 1534 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1541 1542 1543 1544 1545 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 1541 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @resources = args[:resources] if args.key?(:resources) end |