Skip to content

Commit

Permalink
chore: update v2.12.0 gapic-generator-typescript (#44)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Committer: @summer-ji-eng
PiperOrigin-RevId: 424244721

Source-Link: googleapis/googleapis@4b6b01f

Source-Link: googleapis/googleapis-gen@8ac83fb
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGFjODNmYmE2MDZkMDA4YzdlOGE0MmU3ZDU1YjY1OTZlYzRiZTM1ZiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jan 27, 2022
1 parent d894b45 commit 319bbf2
Show file tree
Hide file tree
Showing 7 changed files with 664 additions and 12 deletions.
10 changes: 8 additions & 2 deletions packages/google-cloud-filestore/linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io"
"img.shields.io",
"https://console.cloud.google.com/cloudshell",
"https://support.google.com"
],
"silent": true,
"concurrency": 5
"concurrency": 5,
"retry": true,
"retryErrors": true,
"retryErrorsCount": 5,
"retryErrorsJitter": 3000
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ option java_outer_classname = "CloudFilestoreServiceProto";
option java_package = "com.google.cloud.filestore.v1beta1";
option php_namespace = "Google\\Cloud\\Filestore\\V1beta1";

option (google.api.resource_definition) = {
type: "file.googleapis.com/Snapshot"
pattern: "projects/{project}/locations/{location}/snapshots/{snapshot}"
};

// Configures and manages Cloud Filestore resources.
//
// Cloud Filestore Manager v1beta1.
Expand Down Expand Up @@ -550,6 +545,49 @@ message ListInstancesResponse {
repeated string unreachable = 3;
}

// A Cloud Filestore snapshot.
message Snapshot {
option (google.api.resource) = {
type: "file.googleapis.com/Snapshot"
pattern: "projects/{project}/locations/{location}/instances/{instance}/snapshots/{snapshot}"
};

// The snapshot state.
enum State {
// State not set.
STATE_UNSPECIFIED = 0;

// Snapshot is being created.
CREATING = 1;

// Snapshot is available for use.
READY = 3;

// Snapshot is being deleted.
DELETING = 4;
}

// Output only. The resource name of the snapshot, in the format
// `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

// A description of the snapshot with 2048 characters or less.
// Requests with longer descriptions will be rejected.
string description = 2;

// Output only. The snapshot state.
State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The time when the snapshot was created.
google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];

// Resource labels to represent user provided metadata.
map<string, string> labels = 5;

// Output only. The amount of bytes needed to allocate a full copy of the snapshot content
int64 filesystem_used_bytes = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// A Cloud Filestore backup.
message Backup {
option (google.api.resource) = {
Expand Down
131 changes: 131 additions & 0 deletions packages/google-cloud-filestore/protos/protos.d.ts

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

Loading

0 comments on commit 319bbf2

Please sign in to comment.