Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Oct 7, 2024
1 parent 2c7951e commit e23604a
Show file tree
Hide file tree
Showing 110 changed files with 189 additions and 27,988 deletions.
7 changes: 0 additions & 7 deletions google-cloud-backupdr-v1/.owlbot-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"proto_docs/google/type/expr.rb",
"proto_docs/google/type/month.rb",
"snippets/Gemfile",
"snippets/backupdr/abandon_backup.rb",
"snippets/backupdr/create_backup_plan.rb",
"snippets/backupdr/create_backup_plan_association.rb",
"snippets/backupdr/create_backup_vault.rb",
Expand All @@ -68,26 +67,20 @@
"snippets/backupdr/delete_backup_plan_association.rb",
"snippets/backupdr/delete_backup_vault.rb",
"snippets/backupdr/delete_management_server.rb",
"snippets/backupdr/fetch_access_token.rb",
"snippets/backupdr/fetch_usable_backup_vaults.rb",
"snippets/backupdr/finalize_backup.rb",
"snippets/backupdr/get_backup.rb",
"snippets/backupdr/get_backup_plan.rb",
"snippets/backupdr/get_backup_plan_association.rb",
"snippets/backupdr/get_backup_vault.rb",
"snippets/backupdr/get_data_source.rb",
"snippets/backupdr/get_management_server.rb",
"snippets/backupdr/initiate_backup.rb",
"snippets/backupdr/list_backup_plan_associations.rb",
"snippets/backupdr/list_backup_plans.rb",
"snippets/backupdr/list_backup_vaults.rb",
"snippets/backupdr/list_backups.rb",
"snippets/backupdr/list_data_sources.rb",
"snippets/backupdr/list_management_servers.rb",
"snippets/backupdr/remove_data_source.rb",
"snippets/backupdr/restore_backup.rb",
"snippets/backupdr/set_internal_status.rb",
"snippets/backupdr/test_iam_permissions.rb",
"snippets/backupdr/trigger_backup.rb",
"snippets/backupdr/update_backup.rb",
"snippets/backupdr/update_backup_vault.rb",
Expand Down
35 changes: 0 additions & 35 deletions google-cloud-backupdr-v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
"delete_backup_vault"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"ListDataSources": {
"methods": [
"list_data_sources"
Expand All @@ -80,36 +75,6 @@
"update_data_source"
]
},
"RemoveDataSource": {
"methods": [
"remove_data_source"
]
},
"SetInternalStatus": {
"methods": [
"set_internal_status"
]
},
"InitiateBackup": {
"methods": [
"initiate_backup"
]
},
"AbandonBackup": {
"methods": [
"abandon_backup"
]
},
"FinalizeBackup": {
"methods": [
"finalize_backup"
]
},
"FetchAccessToken": {
"methods": [
"fetch_access_token"
]
},
"ListBackups": {
"methods": [
"list_backups"
Expand Down
992 changes: 97 additions & 895 deletions google-cloud-backupdr-v1/lib/google/cloud/backupdr/v1/backupdr/client.rb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -871,217 +871,6 @@ class UpdateDataSourceRequest
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Message for deleting a DataSource.
# @!attribute [rw] name
# @return [::String]
# Required. Name of the resource.
# @!attribute [rw] request_id
# @return [::String]
# Optional. An optional request ID to identify requests. Specify a unique
# request ID so that if you must retry your request, the server will know to
# ignore the request if it has already been completed. The server will
# guarantee that for at least 60 minutes after the first request.
#
# For example, consider a situation where you make an initial request and
# the request times out. If you make the request again with the same request
# ID, the server can check if original operation with the same request ID
# was received, and if so, will ignore the second request. This prevents
# clients from accidentally creating duplicate commitments.
#
# The request ID must be a valid UUID with the exception that zero UUID is
# not supported (00000000-0000-0000-0000-000000000000).
class RemoveDataSourceRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Request message for SetStatusInternal method.
# @!attribute [rw] data_source
# @return [::String]
# Required. The resource name of the instance, in the format
# 'projects/*/locations/*/backupVaults/*/dataSources/'.
# @!attribute [rw] value
# @return [::String]
# Required. The value required for this method to work. This field must be
# the 32-byte SHA256 hash of the DataSourceID. The DataSourceID used here is
# only the final piece of the fully qualified resource path for this
# DataSource (i.e. the part after '.../dataSources/'). This field exists to
# make this method difficult to call since it is intended for use only by
# Backup Appliances.
# @!attribute [r] backup_config_state
# @return [::Google::Cloud::BackupDR::V1::BackupConfigState]
# Required. Output only. The new BackupConfigState to set for the DataSource.
# @!attribute [rw] request_id
# @return [::String]
# Optional. An optional request ID to identify requests. Specify a unique
# request ID so that if you must retry your request, the server will know to
# ignore the request if it has already been completed. The server will
# guarantee that for at least 60 minutes after the first request. The request
# ID must be a valid UUID with the exception that zero UUID is not supported
# (00000000-0000-0000-0000-000000000000).
class SetInternalStatusRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Response message from SetStatusInternal method.
class SetInternalStatusResponse
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# request message for InitiateBackup.
# @!attribute [rw] data_source
# @return [::String]
# Required. The resource name of the instance, in the format
# 'projects/*/locations/*/backupVaults/*/dataSources/'.
# @!attribute [rw] request_id
# @return [::String]
# Optional. An optional request ID to identify requests. Specify a unique
# request ID so that if you must retry your request, the server will know to
# ignore the request if it has already been completed. The server will
# guarantee that for at least 60 minutes since the first request.
#
# For example, consider a situation where you make an initial request and
# the request times out. If you make the request again with the same request
# ID, the server can check if original operation with the same request ID
# was received, and if so, will ignore the second request. This prevents
# clients from accidentally creating duplicate commitments.
#
# The request ID must be a valid UUID with the exception that zero UUID is
# not supported (00000000-0000-0000-0000-000000000000).
# @!attribute [rw] backup_id
# @return [::String]
# Required. Resource ID of the Backup resource.
class InitiateBackupRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Response message for InitiateBackup.
# @!attribute [rw] backup
# @return [::String]
# The name of the backup that was created.
# @!attribute [rw] new_backup_generation_id
# @return [::Integer]
# The generation id of the new backup.
# @!attribute [rw] base_backup_generation_id
# @return [::Integer]
# The generation id of the base backup. It is needed for the incremental
# backups.
class InitiateBackupResponse
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# request message for AbandonBackup.
# @!attribute [rw] data_source
# @return [::String]
# Required. The resource name of the instance, in the format
# 'projects/*/locations/*/backupVaults/*/dataSources/'.
# @!attribute [rw] request_id
# @return [::String]
# Optional. An optional request ID to identify requests. Specify a unique
# request ID so that if you must retry your request, the server will know to
# ignore the request if it has already been completed. The server will
# guarantee that for at least 60 minutes since the first request.
#
# For example, consider a situation where you make an initial request and
# the request times out. If you make the request again with the same request
# ID, the server can check if original operation with the same request ID
# was received, and if so, will ignore the second request. This prevents
# clients from accidentally creating duplicate commitments.
#
# The request ID must be a valid UUID with the exception that zero UUID is
# not supported (00000000-0000-0000-0000-000000000000).
class AbandonBackupRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Message for finalizing a Backup.
# @!attribute [rw] data_source
# @return [::String]
# Required. The resource name of the instance, in the format
# 'projects/*/locations/*/backupVaults/*/dataSources/'.
# @!attribute [rw] description
# @return [::String]
# This will be assigned to the description field of the newly created Backup.
# @!attribute [rw] consistency_time
# @return [::Google::Protobuf::Timestamp]
# The point in time when this backup was captured from the source. This will
# be assigned to the consistency_time field of the newly created Backup.
# @!attribute [rw] request_id
# @return [::String]
# Optional. An optional request ID to identify requests. Specify a unique
# request ID so that if you must retry your request, the server will know to
# ignore the request if it has already been completed. The server will
# guarantee that for at least 60 minutes after the first request.
#
# For example, consider a situation where you make an initial request and
# the request times out. If you make the request again with the same request
# ID, the server can check if original operation with the same request ID
# was received, and if so, will ignore the second request. This prevents
# clients from accidentally creating duplicate commitments.
#
# The request ID must be a valid UUID with the exception that zero UUID is
# not supported (00000000-0000-0000-0000-000000000000).
# @!attribute [rw] backup_id
# @return [::String]
# Required. Resource ID of the Backup resource to be finalized. This must be
# the same backup_id that was used in the InitiateBackupRequest.
# @!attribute [rw] recovery_range_start_time
# @return [::Google::Protobuf::Timestamp]
# The earliest timestamp of data available in this Backup. This will set on
# the newly created Backup.
# @!attribute [rw] recovery_range_end_time
# @return [::Google::Protobuf::Timestamp]
# The latest timestamp of data available in this Backup. This will be set on
# the newly created Backup.
# @!attribute [rw] retention_duration
# @return [::Google::Protobuf::Duration]
# The ExpireTime on the backup will be set to FinalizeTime plus this
# duration. If the resulting ExpireTime is less than
# EnforcedRetentionEndTime, then ExpireTime is set to
# EnforcedRetentionEndTime.
class FinalizeBackupRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Request message for FetchAccessToken.
# @!attribute [rw] name
# @return [::String]
# Required. The resource name for the location for which static IPs should be
# returned.
# Must be in the format
# 'projects/*/locations/*/backupVaults/*/dataSources'.
# @!attribute [rw] generation_id
# @return [::Integer]
# Required. The generation of the backup to update.
class FetchAccessTokenRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Response message for FetchAccessToken.
# @!attribute [rw] read_location
# @return [::String]
# The location in bucket that can be used for reading.
# @!attribute [rw] write_location
# @return [::String]
# The location in bucket that can be used for writing.
# @!attribute [rw] token
# @return [::String]
# The downscoped token that was created.
# @!attribute [rw] expire_time
# @return [::Google::Protobuf::Timestamp]
# The token is valid until this time.
class FetchAccessTokenResponse
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Request message for listing Backups.
# @!attribute [rw] parent
# @return [::String]
Expand Down
54 changes: 0 additions & 54 deletions google-cloud-backupdr-v1/snippets/backupdr/abandon_backup.rb

This file was deleted.

Loading

0 comments on commit e23604a

Please sign in to comment.