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.



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

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

Instance Attribute Details

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

The list of attestors. Corresponds to the JSON property attestors



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

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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