@@ -1974,14 +1974,16 @@ class CrontabSpec
19741974
19751975 # Required. Textual representation of the crontab. User can customize the backup
19761976 # frequency and the backup version time using the cron expression. The version
1977- # time must be in UTC timzeone. The backup will contain an externally consistent
1978- # copy of the database at the version time. Allowed frequencies are 12 hour, 1
1979- # day, 1 week and 1 month. Examples of valid cron specifications: * `0 2/12 * * *
1980- # ` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * * ` :
1981- # every 12 hours at (2,14) hours past midnight in UTC. * `0 2 * * * ` : once a
1982- # day at 2 past midnight in UTC. * `0 2 * * 0 ` : once a week every Sunday at 2
1983- # past midnight in UTC. * `0 2 8 * * ` : once a month on 8th day at 2 past
1984- # midnight in UTC.
1977+ # time must be in UTC timezone. The backup will contain an externally consistent
1978+ # copy of the database at the version time. Full backups must be scheduled a
1979+ # minimum of 12 hours apart and incremental backups must be scheduled a minimum
1980+ # of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` :
1981+ # every 12 hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every
1982+ # 12 hours at (2,14) hours past midnight in UTC. * `0 */4 * * *` : (incremental
1983+ # backups only) every 4 hours at (0, 4, 8, 12, 16, 20) hours past midnight in
1984+ # UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0 2 * * 0` :
1985+ # once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a
1986+ # month on 8th day at 2 past midnight in UTC.
19851987 # Corresponds to the JSON property `text`
19861988 # @return [String]
19871989 attr_accessor :text
@@ -2443,6 +2445,18 @@ def update!(**args)
24432445 class ExecuteBatchDmlRequest
24442446 include Google ::Apis ::Core ::Hashable
24452447
2448+ # Optional. If set to true, this request marks the end of the transaction. The
2449+ # transaction should be committed or aborted after these statements execute, and
2450+ # attempts to execute any other requests against this transaction (including
2451+ # reads and queries) will be rejected. Setting this option may cause some error
2452+ # reporting to be deferred until commit time (e.g. validation of unique
2453+ # constraints). Given this, successful execution of statements should not be
2454+ # assumed until a subsequent Commit call completes successfully.
2455+ # Corresponds to the JSON property `lastStatements`
2456+ # @return [Boolean]
2457+ attr_accessor :last_statements
2458+ alias_method :last_statements? , :last_statements
2459+
24462460 # Common request options for various APIs.
24472461 # Corresponds to the JSON property `requestOptions`
24482462 # @return [Google::Apis::SpannerV1::RequestOptions]
@@ -2480,6 +2494,7 @@ def initialize(**args)
24802494
24812495 # Update properties of this object
24822496 def update! ( **args )
2497+ @last_statements = args [ :last_statements ] if args . key? ( :last_statements )
24832498 @request_options = args [ :request_options ] if args . key? ( :request_options )
24842499 @seqno = args [ :seqno ] if args . key? ( :seqno )
24852500 @statements = args [ :statements ] if args . key? ( :statements )
@@ -2564,6 +2579,19 @@ class ExecuteSqlRequest
25642579 # @return [Google::Apis::SpannerV1::DirectedReadOptions]
25652580 attr_accessor :directed_read_options
25662581
2582+ # Optional. If set to true, this statement marks the end of the transaction. The
2583+ # transaction should be committed or aborted after this statement executes, and
2584+ # attempts to execute any other requests against this transaction (including
2585+ # reads and queries) will be rejected. For DML statements, setting this option
2586+ # may cause some error reporting to be deferred until commit time (e.g.
2587+ # validation of unique constraints). Given this, successful execution of a DML
2588+ # statement should not be assumed until a subsequent Commit call completes
2589+ # successfully.
2590+ # Corresponds to the JSON property `lastStatement`
2591+ # @return [Boolean]
2592+ attr_accessor :last_statement
2593+ alias_method :last_statement? , :last_statement
2594+
25672595 # It is not always possible for Cloud Spanner to infer the right SQL type from a
25682596 # JSON value. For example, values of type `BYTES` and values of type `STRING`
25692597 # both appear in params as JSON strings. In these cases, `param_types` can be
@@ -2650,6 +2678,7 @@ def initialize(**args)
26502678 def update! ( **args )
26512679 @data_boost_enabled = args [ :data_boost_enabled ] if args . key? ( :data_boost_enabled )
26522680 @directed_read_options = args [ :directed_read_options ] if args . key? ( :directed_read_options )
2681+ @last_statement = args [ :last_statement ] if args . key? ( :last_statement )
26532682 @param_types = args [ :param_types ] if args . key? ( :param_types )
26542683 @params = args [ :params ] if args . key? ( :params )
26552684 @partition_token = args [ :partition_token ] if args . key? ( :partition_token )
@@ -3013,12 +3042,14 @@ class Instance
30133042 # @return [String]
30143043 attr_accessor :create_time
30153044
3016- # Optional. Controls the default backup behavior for new databases within the
3017- # instance. Note that `AUTOMATIC` is not permitted for free instances, as
3018- # backups and backup schedules are not allowed for free instances. In the `
3019- # GetInstance` or `ListInstances` response, if the value of
3020- # default_backup_schedule_type is unset or NONE, no default backup schedule will
3021- # be created for new databases within the instance.
3045+ # Optional. Controls the default backup schedule behavior for new databases
3046+ # within the instance. By default, a backup schedule is created automatically
3047+ # when a new database is created in a new instance. Note that the `AUTOMATIC`
3048+ # value isn't permitted for free instances, as backups and backup schedules aren'
3049+ # t supported for free instances. In the `GetInstance` or `ListInstances`
3050+ # response, if the value of `default_backup_schedule_type` isn't set, or set to `
3051+ # NONE`, Spanner doesn't create a default backup schedule for new databases in
3052+ # the instance.
30223053 # Corresponds to the JSON property `defaultBackupScheduleType`
30233054 # @return [String]
30243055 attr_accessor :default_backup_schedule_type
@@ -7025,7 +7056,7 @@ class UpdateDatabaseDdlRequest
70257056 attr_accessor :operation_id
70267057
70277058 # Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements.
7028- # Contains a protobuf-serialized [google.protobufFileDescriptorSet ](https://
7059+ # Contains a protobuf-serialized [google.protobuf.FileDescriptorSet ](https://
70297060 # github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.
70307061 # proto). To generate it, [install](https://grpc.io/docs/protoc-installation/)
70317062 # and run `protoc` with --include_imports and --descriptor_set_out. For example,
0 commit comments