Class: Google::Apis::BinaryauthorizationV1::ListAttestorsResponse

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

Overview

Response message for BinauthzManagementService.ListAttestors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAttestorsResponse

Returns a new instance of ListAttestorsResponse.



486
487
488
# File 'generated/google/apis/binaryauthorization_v1/classes.rb', line 486

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

Instance Attribute Details

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

The list of attestors. Corresponds to the JSON property attestors



477
478
479
# File 'generated/google/apis/binaryauthorization_v1/classes.rb', line 477

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)


484
485
486
# File 'generated/google/apis/binaryauthorization_v1/classes.rb', line 484

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



491
492
493
494
# File 'generated/google/apis/binaryauthorization_v1/classes.rb', line 491

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