Class: Google::Apis::ApigeeregistryV1::ListArtifactsResponse

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

Overview

Response message for ListArtifacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListArtifactsResponse

Returns a new instance of ListArtifactsResponse.



1034
1035
1036
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1034

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

Instance Attribute Details

#artifactsArray<Google::Apis::ApigeeregistryV1::Artifact>

The artifacts from the specified publisher. Corresponds to the JSON property artifacts



1026
1027
1028
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1026

def artifacts
  @artifacts
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)


1032
1033
1034
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1032

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1039
1040
1041
1042
# File 'lib/google/apis/apigeeregistry_v1/classes.rb', line 1039

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