Autogenerated update (2019-01-12)

Update:
- bigtableadmin_v2
- container_v1beta1
- websecurityscanner_v1alpha
This commit is contained in:
Google APIs committed 2019-01-12 00:37:06 +00:00
1 parent dca115029f
commit 12e2c8676a
11 files changed
+431 -3

No files matched your search

@@ -399,6 +399,17 @@ module Google
# @return [String]
attr_accessor :request_time
# Keys: the full `name` of each table that existed in the instance when
# CreateCluster was first called, i.e.
# `projects/<project>/instances/<instance>/tables/<table>`. Any table added
# to the instance by a later API call will be created in the new cluster by
# that API call, not this one.
# Values: information on how much of a table's data has been copied to the
# newly-created cluster so far.
# Corresponds to the JSON property `tables`
# @return [Hash<String,Google::Apis::BigtableadminV2::TableProgress>]
attr_accessor :tables
def initialize(**args)
update!(**args)
end
@@ -408,6 +419,7 @@ module Google
@finish_time = args[:finish_time] if args.key?(:finish_time)
@original_request = args[:original_request] if args.key?(:original_request)
@request_time = args[:request_time] if args.key?(:request_time)
@tables = args[:tables] if args.key?(:tables)
end
end
@@ -1519,6 +1531,39 @@ module Google
end
end
# Progress info for copying a table's data to the new cluster.
class TableProgress
include Google::Apis::Core::Hashable
# Estimate of the number of bytes copied so far for this table.
# This will eventually reach 'estimated_size_bytes' unless the table copy
# is CANCELLED.
# Corresponds to the JSON property `estimatedCopiedBytes`
# @return [Fixnum]
attr_accessor :estimated_copied_bytes
# Estimate of the size of the table to be copied.
# Corresponds to the JSON property `estimatedSizeBytes`
# @return [Fixnum]
attr_accessor :estimated_size_bytes
#
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@estimated_copied_bytes = args[:estimated_copied_bytes] if args.key?(:estimated_copied_bytes)
@estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes)
@state = args[:state] if args.key?(:state)
end
end
# Request message for `TestIamPermissions` method.
class TestIamPermissionsRequest
include Google::Apis::Core::Hashable
@@ -256,6 +256,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TableProgress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -379,6 +385,8 @@ module Google
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateClusterRequest, decorator: Google::Apis::BigtableadminV2::CreateClusterRequest::Representation
property :request_time, as: 'requestTime'
hash :tables, as: 'tables', class: Google::Apis::BigtableadminV2::TableProgress, decorator: Google::Apis::BigtableadminV2::TableProgress::Representation
end
end
@@ -651,6 +659,15 @@ module Google
end
end
class TableProgress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :estimated_copied_bytes, :numeric_string => true, as: 'estimatedCopiedBytes'
property :estimated_size_bytes, :numeric_string => true, as: 'estimatedSizeBytes'
property :state, as: 'state'
end
end
class TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation