Class: Google::Apis::BinaryauthorizationV1beta1::ListAttestorsResponse

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

Overview

Response message for BinauthzManagementService.ListAttestors.

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) ⇒ ListAttestorsResponse

Returns a new instance of ListAttestorsResponse.


418
419
420
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 418

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

Instance Attribute Details

#attestorsArray<Google::Apis::BinaryauthorizationV1beta1::Attestor>

The list of attestors. Corresponds to the JSON property attestors


409
410
411
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 409

def attestors
  @attestors
end

#next_page_tokenString

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

416
417
418
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 416

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


423
424
425
426
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 423

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