Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 310213770
  • Loading branch information
Google APIs authored and Copybara-Service committed May 6, 2020
1 parent 6dfd72d commit 839fae4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
5 changes: 2 additions & 3 deletions google/cloud/secrets/v1beta1/resources.proto
@@ -1,4 +1,4 @@
// Copyright 2019 Google LLC.
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

syntax = "proto3";

Expand All @@ -25,12 +24,12 @@ import "google/api/annotations.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.SecretManager.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1beta1;secretmanager";
option ruby_package = "Google::Cloud::SecretManager::V1beta1";
option java_multiple_files = true;
option java_outer_classname = "ResourcesProto";
option java_package = "com.google.cloud.secretmanager.v1beta1";
option objc_class_prefix = "GSM";
option php_namespace = "Google\\Cloud\\SecretManager\\V1beta1";
option ruby_package = "Google::Cloud::SecretManager::V1beta1";

// A [Secret][google.cloud.secrets.v1beta1.Secret] is a logical secret whose value and versions can
// be accessed.
Expand Down
4 changes: 3 additions & 1 deletion google/cloud/secrets/v1beta1/secretmanager_v1beta1.yaml
Expand Up @@ -7,7 +7,9 @@ apis:
- name: google.cloud.secrets.v1beta1.SecretManagerService

documentation:
summary: 'Stores, manages, and secures access to application secrets.'
summary: |-
Stores sensitive data such as API keys, passwords, and certificates.
Provides convenience while improving security.
overview: Secret Manager Overview

backend:
Expand Down
9 changes: 4 additions & 5 deletions google/cloud/secrets/v1beta1/service.proto
@@ -1,4 +1,4 @@
// Copyright 2019 Google LLC.
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -11,7 +11,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

syntax = "proto3";

Expand All @@ -30,12 +29,12 @@ import "google/protobuf/field_mask.proto";
option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.SecretManager.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1beta1;secretmanager";
option ruby_package = "Google::Cloud::SecretManager::V1beta1";
option java_multiple_files = true;
option java_outer_classname = "ServiceProto";
option java_package = "com.google.cloud.secretmanager.v1beta1";
option objc_class_prefix = "GSM";
option php_namespace = "Google\\Cloud\\SecretManager\\V1beta1";
option ruby_package = "Google::Cloud::SecretManager::V1beta1";

// `projects/*/secrets/*/versions/latest` is an alias to the `latest`
// [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion].
Expand Down Expand Up @@ -259,8 +258,8 @@ message CreateSecretRequest {
// underscore (`_`) characters.
string secret_id = 2 [(google.api.field_behavior) = REQUIRED];

// A [Secret][google.cloud.secrets.v1beta1.Secret] with initial field values.
Secret secret = 3;
// Required. A [Secret][google.cloud.secrets.v1beta1.Secret] with initial field values.
Secret secret = 3 [(google.api.field_behavior) = REQUIRED];
}

// Request message for [SecretManagerService.AddSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.AddSecretVersion].
Expand Down

0 comments on commit 839fae4

Please sign in to comment.