Class: Google::Apis::CloudkmsV1::ListImportJobsResponse

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

Overview

Response message for KeyManagementService.ListImportJobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListImportJobsResponse

Returns a new instance of ListImportJobsResponse.



1093
1094
1095
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1093

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

Instance Attribute Details

#import_jobsArray<Google::Apis::CloudkmsV1::ImportJob>

The list of ImportJobs. Corresponds to the JSON property importJobs



1080
1081
1082
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1080

def import_jobs
  @import_jobs
end

#next_page_tokenString

A token to retrieve next page of results. Pass this value in ListImportJobsRequest.page_token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1086
1087
1088
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1086

def next_page_token
  @next_page_token
end

#total_sizeFixnum

The total number of ImportJobs that matched the query. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


1091
1092
1093
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1091

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1098
1099
1100
1101
1102
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1098

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