Class: Google::Apis::ConnectorsV2::ListResourcesResponse

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

Instance Method Summary collapse

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

#metadataHash<String,Hash<String,Object>>

Metadata like service latency, etc. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Hash<String,Object>>)


1524
1525
1526
# File 'lib/google/apis/connectors_v2/classes.rb', line 1524

def 
  @metadata
end

#next_page_tokenString

Next page token if more resources available. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1529
1530
1531
# File 'lib/google/apis/connectors_v2/classes.rb', line 1529

def next_page_token
  @next_page_token
end

#resourcesArray<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