Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of bigtableadmin v2 client #20146

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions generated/google-apis-bigtableadmin_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-bigtableadmin_v2

### v0.61.0 (2024-09-01)

* Regenerated from discovery document revision 20240824

### v0.60.0 (2024-08-18)

* Regenerated from discovery document revision 20240806
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,6 @@ def update!(**args)
class Backup
include Google::Apis::Core::Hashable

# Indicates the backup type of the backup.
# Corresponds to the JSON property `backupType`
# @return [String]
attr_accessor :backup_type

# Encryption information for a given resource. If this resource is protected
# with customer managed encryption, the in-use Cloud Key Management Service (
# Cloud KMS) key version is specified along with its status.
Expand All @@ -327,16 +322,6 @@ class Backup
# @return [String]
attr_accessor :expire_time

# The time at which the hot backup will be converted to a standard backup. Once
# the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot
# backup to a standard backup. This value must be greater than the backup
# creation time by: - At least 24 hours This field only applies for hot backups.
# When creating or updating a standard backup, attempting to set this field will
# fail the request.
# Corresponds to the JSON property `hotToStandardTime`
# @return [String]
attr_accessor :hot_to_standard_time

# A globally unique identifier for the backup which cannot be changed. Values
# are of the form `projects/`project`/instances/`instance`/clusters/`cluster`/
# backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50
Expand Down Expand Up @@ -384,11 +369,9 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@backup_type = args[:backup_type] if args.key?(:backup_type)
@encryption_info = args[:encryption_info] if args.key?(:encryption_info)
@end_time = args[:end_time] if args.key?(:end_time)
@expire_time = args[:expire_time] if args.key?(:expire_time)
@hot_to_standard_time = args[:hot_to_standard_time] if args.key?(:hot_to_standard_time)
@name = args[:name] if args.key?(:name)
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
@source_backup = args[:source_backup] if args.key?(:source_backup)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module BigtableadminV2
# Version of the google-apis-bigtableadmin_v2 gem
GEM_VERSION = "0.60.0"
GEM_VERSION = "0.61.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240806"
REVISION = "20240824"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -779,12 +779,10 @@ class Representation < Google::Apis::Core::JsonRepresentation
class Backup
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :backup_type, as: 'backupType'
property :encryption_info, as: 'encryptionInfo', class: Google::Apis::BigtableadminV2::EncryptionInfo, decorator: Google::Apis::BigtableadminV2::EncryptionInfo::Representation

property :end_time, as: 'endTime'
property :expire_time, as: 'expireTime'
property :hot_to_standard_time, as: 'hotToStandardTime'
property :name, as: 'name'
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
property :source_backup, as: 'sourceBackup'
Expand Down
Loading