Skip to content

Commit

Permalink
feat(metastore): update the api
Browse files Browse the repository at this point in the history
#### metastore:v1

The following keys were added:
- schemas.LatestBackup (Total Keys: 12)
- schemas.Restore.properties.backupLocation.type (Total Keys: 1)
- schemas.RestoreServiceRequest.properties.backupLocation.type (Total Keys: 1)
- schemas.ScheduledBackup (Total Keys: 11)
- schemas.Service.properties.scheduledBackup.$ref (Total Keys: 1)

#### metastore:v1alpha

The following keys were added:
- schemas.LatestBackup (Total Keys: 12)
- schemas.Restore.properties.backupLocation.type (Total Keys: 1)
- schemas.RestoreServiceRequest.properties.backupLocation.type (Total Keys: 1)
- schemas.ScheduledBackup (Total Keys: 11)
- schemas.Service.properties.scheduledBackup.$ref (Total Keys: 1)

#### metastore:v1beta

The following keys were added:
- schemas.LatestBackup (Total Keys: 12)
- schemas.Restore.properties.backupLocation.type (Total Keys: 1)
- schemas.RestoreServiceRequest.properties.backupLocation.type (Total Keys: 1)
- schemas.ScheduledBackup (Total Keys: 11)
- schemas.Service.properties.scheduledBackup.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Mar 5, 2024
1 parent ce51440 commit dd635a4
Show file tree
Hide file tree
Showing 9 changed files with 561 additions and 3 deletions.
42 changes: 42 additions & 0 deletions docs/dyn/metastore_v1.projects.locations.services.backups.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ <h3>Method Details</h3>
&quot;restores&quot;: [ # Output only. The latest restores of the metastore service.
{ # The details of a metadata restore operation.
&quot;backup&quot;: &quot;A String&quot;, # Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
&quot;backupLocation&quot;: &quot;A String&quot;, # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.
&quot;details&quot;: &quot;A String&quot;, # Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. The time when the restore ended.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time when the restore started.
Expand All @@ -210,6 +211,19 @@ <h3>Method Details</h3>
&quot;instanceSize&quot;: &quot;A String&quot;, # An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
&quot;scalingFactor&quot;: 3.14, # Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
},
&quot;scheduledBackup&quot;: { # This specifies the configuration of scheduled backup. # Optional. The configuration of scheduled backup for the metastore service.
&quot;backupLocation&quot;: &quot;A String&quot;, # Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.
&quot;cronSchedule&quot;: &quot;A String&quot;, # Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.
&quot;enabled&quot;: True or False, # Optional. Defines whether the scheduled backup is enabled. The default value is false.
&quot;latestBackup&quot;: { # The details of the latest scheduled backup. # Output only. The details of the latest scheduled backup.
&quot;backupId&quot;: &quot;A String&quot;, # Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.
&quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the backup completion.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time when the backup was started.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the backup.
},
&quot;nextScheduledTime&quot;: &quot;A String&quot;, # Output only. The time when the next backups execution is scheduled to start.
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the metastore service.
&quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of the metastore service, if available.
&quot;telemetryConfig&quot;: { # Telemetry Configuration for the Dataproc Metastore service. # The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
Expand Down Expand Up @@ -375,6 +389,7 @@ <h3>Method Details</h3>
&quot;restores&quot;: [ # Output only. The latest restores of the metastore service.
{ # The details of a metadata restore operation.
&quot;backup&quot;: &quot;A String&quot;, # Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
&quot;backupLocation&quot;: &quot;A String&quot;, # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.
&quot;details&quot;: &quot;A String&quot;, # Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. The time when the restore ended.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time when the restore started.
Expand All @@ -400,6 +415,19 @@ <h3>Method Details</h3>
&quot;instanceSize&quot;: &quot;A String&quot;, # An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
&quot;scalingFactor&quot;: 3.14, # Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
},
&quot;scheduledBackup&quot;: { # This specifies the configuration of scheduled backup. # Optional. The configuration of scheduled backup for the metastore service.
&quot;backupLocation&quot;: &quot;A String&quot;, # Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.
&quot;cronSchedule&quot;: &quot;A String&quot;, # Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.
&quot;enabled&quot;: True or False, # Optional. Defines whether the scheduled backup is enabled. The default value is false.
&quot;latestBackup&quot;: { # The details of the latest scheduled backup. # Output only. The details of the latest scheduled backup.
&quot;backupId&quot;: &quot;A String&quot;, # Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.
&quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the backup completion.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time when the backup was started.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the backup.
},
&quot;nextScheduledTime&quot;: &quot;A String&quot;, # Output only. The time when the next backups execution is scheduled to start.
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the metastore service.
&quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of the metastore service, if available.
&quot;telemetryConfig&quot;: { # Telemetry Configuration for the Dataproc Metastore service. # The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
Expand Down Expand Up @@ -553,6 +581,7 @@ <h3>Method Details</h3>
&quot;restores&quot;: [ # Output only. The latest restores of the metastore service.
{ # The details of a metadata restore operation.
&quot;backup&quot;: &quot;A String&quot;, # Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
&quot;backupLocation&quot;: &quot;A String&quot;, # Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.
&quot;details&quot;: &quot;A String&quot;, # Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. The time when the restore ended.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time when the restore started.
Expand All @@ -578,6 +607,19 @@ <h3>Method Details</h3>
&quot;instanceSize&quot;: &quot;A String&quot;, # An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
&quot;scalingFactor&quot;: 3.14, # Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
},
&quot;scheduledBackup&quot;: { # This specifies the configuration of scheduled backup. # Optional. The configuration of scheduled backup for the metastore service.
&quot;backupLocation&quot;: &quot;A String&quot;, # Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.
&quot;cronSchedule&quot;: &quot;A String&quot;, # Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.
&quot;enabled&quot;: True or False, # Optional. Defines whether the scheduled backup is enabled. The default value is false.
&quot;latestBackup&quot;: { # The details of the latest scheduled backup. # Output only. The details of the latest scheduled backup.
&quot;backupId&quot;: &quot;A String&quot;, # Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.
&quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the backup completion.
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The time when the backup was started.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the backup.
},
&quot;nextScheduledTime&quot;: &quot;A String&quot;, # Output only. The time when the next backups execution is scheduled to start.
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.
},
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the metastore service.
&quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of the metastore service, if available.
&quot;telemetryConfig&quot;: { # Telemetry Configuration for the Dataproc Metastore service. # The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
Expand Down
Loading

0 comments on commit dd635a4

Please sign in to comment.