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

Constructor Details

#initialize(**args) ⇒ ListAttestorsResponse

Returns a new instance of ListAttestorsResponse.



487
488
489
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 487

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

Instance Attribute Details

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

The list of attestors. Corresponds to the JSON property attestors



478
479
480
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 478

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)


485
486
487
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 485

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



492
493
494
495
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 492

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