google-cloud-secret_manager-v1beta1 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta1
24
- VERSION = "0.2.3"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -27,110 +27,110 @@ module Google
27
27
  #
28
28
  # Example:
29
29
  #
30
- # message Topic \\\{
30
+ # message Topic {
31
31
  # // Indicates this message defines a resource schema.
32
- # // Declares the resource type in the format of \\\{service\}/\\\{kind\}.
33
- # // For Kubernetes resources, the format is \\\{api group\}/\\\{kind\}.
34
- # option (google.api.resource) = \\\{
32
+ # // Declares the resource type in the format of {service}/{kind}.
33
+ # // For Kubernetes resources, the format is {api group}/{kind}.
34
+ # option (google.api.resource) = {
35
35
  # type: "pubsub.googleapis.com/Topic"
36
- # name_descriptor: \\\{
37
- # pattern: "projects/\\\{project\}/topics/\\\{topic\}"
36
+ # name_descriptor: {
37
+ # pattern: "projects/{project}/topics/{topic}"
38
38
  # parent_type: "cloudresourcemanager.googleapis.com/Project"
39
- # parent_name_extractor: "projects/\\\{project\}"
40
- # \}
41
- # \};
42
- # \}
39
+ # parent_name_extractor: "projects/{project}"
40
+ # }
41
+ # };
42
+ # }
43
43
  #
44
44
  # The ResourceDescriptor Yaml config will look like:
45
45
  #
46
46
  # resources:
47
47
  # - type: "pubsub.googleapis.com/Topic"
48
48
  # name_descriptor:
49
- # - pattern: "projects/\\\{project\}/topics/\\\{topic\}"
49
+ # - pattern: "projects/\\{project}/topics/\\{topic}"
50
50
  # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/\\\{project\}"
51
+ # parent_name_extractor: "projects/\\{project}"
52
52
  #
53
53
  # Sometimes, resources have multiple patterns, typically because they can
54
54
  # live under multiple parents.
55
55
  #
56
56
  # Example:
57
57
  #
58
- # message LogEntry \\\{
59
- # option (google.api.resource) = \\\{
58
+ # message LogEntry {
59
+ # option (google.api.resource) = {
60
60
  # type: "logging.googleapis.com/LogEntry"
61
- # name_descriptor: \\\{
62
- # pattern: "projects/\\\{project\}/logs/\\\{log\}"
61
+ # name_descriptor: {
62
+ # pattern: "projects/{project}/logs/{log}"
63
63
  # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
- # parent_name_extractor: "projects/\\\{project\}"
65
- # \}
66
- # name_descriptor: \\\{
67
- # pattern: "folders/\\\{folder\}/logs/\\\{log\}"
64
+ # parent_name_extractor: "projects/{project}"
65
+ # }
66
+ # name_descriptor: {
67
+ # pattern: "folders/{folder}/logs/{log}"
68
68
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
69
- # parent_name_extractor: "folders/\\\{folder\}"
70
- # \}
71
- # name_descriptor: \\\{
72
- # pattern: "organizations/\\\{organization\}/logs/\\\{log\}"
69
+ # parent_name_extractor: "folders/{folder}"
70
+ # }
71
+ # name_descriptor: {
72
+ # pattern: "organizations/{organization}/logs/{log}"
73
73
  # parent_type: "cloudresourcemanager.googleapis.com/Organization"
74
- # parent_name_extractor: "organizations/\\\{organization\}"
75
- # \}
76
- # name_descriptor: \\\{
77
- # pattern: "billingAccounts/\\\{billing_account\}/logs/\\\{log\}"
74
+ # parent_name_extractor: "organizations/{organization}"
75
+ # }
76
+ # name_descriptor: {
77
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
78
78
  # parent_type: "billing.googleapis.com/BillingAccount"
79
- # parent_name_extractor: "billingAccounts/\\\{billing_account\}"
80
- # \}
81
- # \};
82
- # \}
79
+ # parent_name_extractor: "billingAccounts/{billing_account}"
80
+ # }
81
+ # };
82
+ # }
83
83
  #
84
84
  # The ResourceDescriptor Yaml config will look like:
85
85
  #
86
86
  # resources:
87
87
  # - type: 'logging.googleapis.com/LogEntry'
88
88
  # name_descriptor:
89
- # - pattern: "projects/\\\{project\}/logs/\\\{log\}"
89
+ # - pattern: "projects/{project}/logs/{log}"
90
90
  # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
- # parent_name_extractor: "projects/\\\{project\}"
92
- # - pattern: "folders/\\\{folder\}/logs/\\\{log\}"
91
+ # parent_name_extractor: "projects/{project}"
92
+ # - pattern: "folders/{folder}/logs/{log}"
93
93
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
94
- # parent_name_extractor: "folders/\\\{folder\}"
95
- # - pattern: "organizations/\\\{organization\}/logs/\\\{log\}"
94
+ # parent_name_extractor: "folders/{folder}"
95
+ # - pattern: "organizations/{organization}/logs/{log}"
96
96
  # parent_type: "cloudresourcemanager.googleapis.com/Organization"
97
- # parent_name_extractor: "organizations/\\\{organization\}"
98
- # - pattern: "billingAccounts/\\\{billing_account\}/logs/\\\{log\}"
97
+ # parent_name_extractor: "organizations/{organization}"
98
+ # - pattern: "billingAccounts/{billing_account}/logs/{log}"
99
99
  # parent_type: "billing.googleapis.com/BillingAccount"
100
- # parent_name_extractor: "billingAccounts/\\\{billing_account\}"
100
+ # parent_name_extractor: "billingAccounts/{billing_account}"
101
101
  #
102
102
  # For flexible resources, the resource name doesn't contain parent names, but
103
103
  # the resource itself has parents for policy evaluation.
104
104
  #
105
105
  # Example:
106
106
  #
107
- # message Shelf \\\{
108
- # option (google.api.resource) = \\\{
107
+ # message Shelf {
108
+ # option (google.api.resource) = {
109
109
  # type: "library.googleapis.com/Shelf"
110
- # name_descriptor: \\\{
111
- # pattern: "shelves/\\\{shelf\}"
110
+ # name_descriptor: {
111
+ # pattern: "shelves/{shelf}"
112
112
  # parent_type: "cloudresourcemanager.googleapis.com/Project"
113
- # \}
114
- # name_descriptor: \\\{
115
- # pattern: "shelves/\\\{shelf\}"
113
+ # }
114
+ # name_descriptor: {
115
+ # pattern: "shelves/{shelf}"
116
116
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
117
- # \}
118
- # \};
119
- # \}
117
+ # }
118
+ # };
119
+ # }
120
120
  #
121
121
  # The ResourceDescriptor Yaml config will look like:
122
122
  #
123
123
  # resources:
124
124
  # - type: 'library.googleapis.com/Shelf'
125
125
  # name_descriptor:
126
- # - pattern: "shelves/\\\{shelf\}"
126
+ # - pattern: "shelves/{shelf}"
127
127
  # parent_type: "cloudresourcemanager.googleapis.com/Project"
128
- # - pattern: "shelves/\\\{shelf\}"
128
+ # - pattern: "shelves/{shelf}"
129
129
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
130
130
  # @!attribute [rw] type
131
131
  # @return [String]
132
132
  # The resource type. It must be in the format of
133
- # \\\{service_name\}/\\\{resource_type_kind\}. The `resource_type_kind` must be
133
+ # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
134
134
  # singular and must not include version numbers.
135
135
  #
136
136
  # Example: `storage.googleapis.com/Bucket`
@@ -147,14 +147,14 @@ module Google
147
147
  # The path pattern must follow the syntax, which aligns with HTTP binding
148
148
  # syntax:
149
149
  #
150
- # Template = Segment \\\{ "/" Segment \} ;
150
+ # Template = Segment { "/" Segment } ;
151
151
  # Segment = LITERAL | Variable ;
152
- # Variable = "\\\{" LITERAL "\}" ;
152
+ # Variable = "{" LITERAL "}" ;
153
153
  #
154
154
  # Examples:
155
155
  #
156
- # - "projects/\\\{project\}/topics/\\\{topic\}"
157
- # - "projects/\\\{project\}/knowledgeBases/\\\{knowledge_base\}"
156
+ # - "projects/\\{project}/topics/\\{topic}"
157
+ # - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
158
158
  #
159
159
  # The components in braces correspond to the IDs for each resource in the
160
160
  # hierarchy. It is expected that, if multiple patterns are provided,
@@ -172,19 +172,19 @@ module Google
172
172
  #
173
173
  # // The InspectTemplate message originally only supported resource
174
174
  # // names with organization, and project was added later.
175
- # message InspectTemplate \\\{
176
- # option (google.api.resource) = \\\{
175
+ # message InspectTemplate {
176
+ # option (google.api.resource) = {
177
177
  # type: "dlp.googleapis.com/InspectTemplate"
178
178
  # pattern:
179
- # "organizations/\\\{organization\}/inspectTemplates/\\\{inspect_template\}"
180
- # pattern: "projects/\\\{project\}/inspectTemplates/\\\{inspect_template\}"
179
+ # "organizations/{organization}/inspectTemplates/{inspect_template}"
180
+ # pattern: "projects/{project}/inspectTemplates/{inspect_template}"
181
181
  # history: ORIGINALLY_SINGLE_PATTERN
182
- # \};
183
- # \}
182
+ # };
183
+ # }
184
184
  # @!attribute [rw] plural
185
185
  # @return [String]
186
186
  # The plural name used in the resource name, such as 'projects' for
187
- # the name of 'projects/\\\{project\}'. It is the same concept of the `plural`
187
+ # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
188
  # field in k8s CRD spec
189
189
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
190
190
  # @!attribute [rw] singular
@@ -221,11 +221,11 @@ module Google
221
221
  #
222
222
  # Example:
223
223
  #
224
- # message Subscription \\\{
225
- # string topic = 2 [(google.api.resource_reference) = \\\{
224
+ # message Subscription {
225
+ # string topic = 2 [(google.api.resource_reference) = {
226
226
  # type: "pubsub.googleapis.com/Topic"
227
- # \}];
228
- # \}
227
+ # }];
228
+ # }
229
229
  # @!attribute [rw] child_type
230
230
  # @return [String]
231
231
  # The resource type of a child collection that the annotated field
@@ -234,11 +234,11 @@ module Google
234
234
  #
235
235
  # Example:
236
236
  #
237
- # message ListLogEntriesRequest \\\{
238
- # string parent = 1 [(google.api.resource_reference) = \\\{
237
+ # message ListLogEntriesRequest {
238
+ # string parent = 1 [(google.api.resource_reference) = {
239
239
  # child_type: "logging.googleapis.com/LogEntry"
240
- # \};
241
- # \}
240
+ # };
241
+ # }
242
242
  class ResourceReference
243
243
  include Google::Protobuf::MessageExts
244
244
  extend Google::Protobuf::MessageExts::ClassMethods
@@ -21,33 +21,33 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta1
24
- # A [Secret][google.cloud.secrets.v1beta1.Secret] is a logical secret whose value and versions can
24
+ # A {Google::Cloud::SecretManager::V1beta1::Secret Secret} is a logical secret whose value and versions can
25
25
  # be accessed.
26
26
  #
27
- # A [Secret][google.cloud.secrets.v1beta1.Secret] is made up of zero or more [SecretVersions][google.cloud.secrets.v1beta1.SecretVersion] that
27
+ # A {Google::Cloud::SecretManager::V1beta1::Secret Secret} is made up of zero or more {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} that
28
28
  # represent the secret data.
29
29
  # @!attribute [r] name
30
30
  # @return [String]
31
- # Output only. The resource name of the [Secret][google.cloud.secrets.v1beta1.Secret] in the format `projects/*/secrets/*`.
31
+ # Output only. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} in the format `projects/*/secrets/*`.
32
32
  # @!attribute [rw] replication
33
33
  # @return [Google::Cloud::SecretManager::V1beta1::Replication]
34
- # Required. Immutable. The replication policy of the secret data attached to the [Secret][google.cloud.secrets.v1beta1.Secret].
34
+ # Required. Immutable. The replication policy of the secret data attached to the {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
35
35
  #
36
36
  # The replication policy cannot be changed after the Secret has been created.
37
37
  # @!attribute [r] create_time
38
38
  # @return [Google::Protobuf::Timestamp]
39
- # Output only. The time at which the [Secret][google.cloud.secrets.v1beta1.Secret] was created.
39
+ # Output only. The time at which the {Google::Cloud::SecretManager::V1beta1::Secret Secret} was created.
40
40
  # @!attribute [rw] labels
41
41
  # @return [Google::Protobuf::Map{String => String}]
42
42
  # The labels assigned to this Secret.
43
43
  #
44
44
  # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
45
45
  # of maximum 128 bytes, and must conform to the following PCRE regular
46
- # expression: `[\p\\\{Ll\}\p\\\{Lo\}][\p\\\{Ll\}\p\\\{Lo\}\p\\\{N\}_-]\\\{0,62\}`
46
+ # expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`
47
47
  #
48
48
  # Label values must be between 0 and 63 characters long, have a UTF-8
49
49
  # encoding of maximum 128 bytes, and must conform to the following PCRE
50
- # regular expression: `[\p\\\{Ll\}\p\\\{Lo\}\p\\\{N\}_-]\\\{0,63\}`
50
+ # regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`
51
51
  #
52
52
  # No more than 64 labels can be assigned to a given resource.
53
53
  class Secret
@@ -67,40 +67,40 @@ module Google
67
67
  # A secret version resource in the Secret Manager API.
68
68
  # @!attribute [r] name
69
69
  # @return [String]
70
- # Output only. The resource name of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] in the
70
+ # Output only. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the
71
71
  # format `projects/*/secrets/*/versions/*`.
72
72
  #
73
- # [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] IDs in a [Secret][google.cloud.secrets.v1beta1.Secret] start at 1 and
73
+ # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} IDs in a {Google::Cloud::SecretManager::V1beta1::Secret Secret} start at 1 and
74
74
  # are incremented for each subsequent version of the secret.
75
75
  # @!attribute [r] create_time
76
76
  # @return [Google::Protobuf::Timestamp]
77
- # Output only. The time at which the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] was created.
77
+ # Output only. The time at which the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was created.
78
78
  # @!attribute [r] destroy_time
79
79
  # @return [Google::Protobuf::Timestamp]
80
- # Output only. The time this [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] was destroyed.
81
- # Only present if [state][google.cloud.secrets.v1beta1.SecretVersion.state] is
82
- # [DESTROYED][google.cloud.secrets.v1beta1.SecretVersion.State.DESTROYED].
80
+ # Output only. The time this {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was destroyed.
81
+ # Only present if {Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} is
82
+ # {Google::Cloud::SecretManager::V1beta1::SecretVersion::State::DESTROYED DESTROYED}.
83
83
  # @!attribute [r] state
84
84
  # @return [Google::Cloud::SecretManager::V1beta1::SecretVersion::State]
85
- # Output only. The current state of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion].
85
+ # Output only. The current state of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
86
86
  class SecretVersion
87
87
  include Google::Protobuf::MessageExts
88
88
  extend Google::Protobuf::MessageExts::ClassMethods
89
89
 
90
- # The state of a [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion], indicating if it can be accessed.
90
+ # The state of a {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}, indicating if it can be accessed.
91
91
  module State
92
92
  # Not specified. This value is unused and invalid.
93
93
  STATE_UNSPECIFIED = 0
94
94
 
95
- # The [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] may be accessed.
95
+ # The {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may be accessed.
96
96
  ENABLED = 1
97
97
 
98
- # The [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] may not be accessed, but the secret data
99
- # is still available and can be placed back into the [ENABLED][google.cloud.secrets.v1beta1.SecretVersion.State.ENABLED]
98
+ # The {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may not be accessed, but the secret data
99
+ # is still available and can be placed back into the {Google::Cloud::SecretManager::V1beta1::SecretVersion::State::ENABLED ENABLED}
100
100
  # state.
101
101
  DISABLED = 2
102
102
 
103
- # The [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] is destroyed and the secret data is no longer
103
+ # The {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} is destroyed and the secret data is no longer
104
104
  # stored. A version may not leave this state once entered.
105
105
  DESTROYED = 3
106
106
  end
@@ -109,33 +109,33 @@ module Google
109
109
  # A policy that defines the replication configuration of data.
110
110
  # @!attribute [rw] automatic
111
111
  # @return [Google::Cloud::SecretManager::V1beta1::Replication::Automatic]
112
- # The [Secret][google.cloud.secrets.v1beta1.Secret] will automatically be replicated without any restrictions.
112
+ # The {Google::Cloud::SecretManager::V1beta1::Secret Secret} will automatically be replicated without any restrictions.
113
113
  # @!attribute [rw] user_managed
114
114
  # @return [Google::Cloud::SecretManager::V1beta1::Replication::UserManaged]
115
- # The [Secret][google.cloud.secrets.v1beta1.Secret] will only be replicated into the locations specified.
115
+ # The {Google::Cloud::SecretManager::V1beta1::Secret Secret} will only be replicated into the locations specified.
116
116
  class Replication
117
117
  include Google::Protobuf::MessageExts
118
118
  extend Google::Protobuf::MessageExts::ClassMethods
119
119
 
120
- # A replication policy that replicates the [Secret][google.cloud.secrets.v1beta1.Secret] payload without any
120
+ # A replication policy that replicates the {Google::Cloud::SecretManager::V1beta1::Secret Secret} payload without any
121
121
  # restrictions.
122
122
  class Automatic
123
123
  include Google::Protobuf::MessageExts
124
124
  extend Google::Protobuf::MessageExts::ClassMethods
125
125
  end
126
126
 
127
- # A replication policy that replicates the [Secret][google.cloud.secrets.v1beta1.Secret] payload into the
127
+ # A replication policy that replicates the {Google::Cloud::SecretManager::V1beta1::Secret Secret} payload into the
128
128
  # locations specified in [Secret.replication.user_managed.replicas][]
129
129
  # @!attribute [rw] replicas
130
130
  # @return [Array<Google::Cloud::SecretManager::V1beta1::Replication::UserManaged::Replica>]
131
- # Required. The list of Replicas for this [Secret][google.cloud.secrets.v1beta1.Secret].
131
+ # Required. The list of Replicas for this {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
132
132
  #
133
133
  # Cannot be empty.
134
134
  class UserManaged
135
135
  include Google::Protobuf::MessageExts
136
136
  extend Google::Protobuf::MessageExts::ClassMethods
137
137
 
138
- # Represents a Replica for this [Secret][google.cloud.secrets.v1beta1.Secret].
138
+ # Represents a Replica for this {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
139
139
  # @!attribute [rw] location
140
140
  # @return [String]
141
141
  # The canonical IDs of the location to replicate data.
@@ -148,7 +148,7 @@ module Google
148
148
  end
149
149
 
150
150
  # A secret payload resource in the Secret Manager API. This contains the
151
- # sensitive secret data that is associated with a [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion].
151
+ # sensitive secret data that is associated with a {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
152
152
  # @!attribute [rw] data
153
153
  # @return [String]
154
154
  # The secret data. Must be no larger than 64KiB.
@@ -21,11 +21,11 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta1
24
- # Request message for [SecretManagerService.ListSecrets][google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets].
24
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
25
25
  # @!attribute [rw] parent
26
26
  # @return [String]
27
27
  # Required. The resource name of the project associated with the
28
- # [Secrets][google.cloud.secrets.v1beta1.Secret], in the format `projects/*`.
28
+ # {Google::Cloud::SecretManager::V1beta1::Secret Secrets}, in the format `projects/*`.
29
29
  # @!attribute [rw] page_size
30
30
  # @return [Integer]
31
31
  # Optional. The maximum number of results to be returned in a single page. If
@@ -34,72 +34,72 @@ module Google
34
34
  # @!attribute [rw] page_token
35
35
  # @return [String]
36
36
  # Optional. Pagination token, returned earlier via
37
- # [ListSecretsResponse.next_page_token][google.cloud.secrets.v1beta1.ListSecretsResponse.next_page_token].
37
+ # {Google::Cloud::SecretManager::V1beta1::ListSecretsResponse#next_page_token ListSecretsResponse.next_page_token}.
38
38
  class ListSecretsRequest
39
39
  include Google::Protobuf::MessageExts
40
40
  extend Google::Protobuf::MessageExts::ClassMethods
41
41
  end
42
42
 
43
- # Response message for [SecretManagerService.ListSecrets][google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets].
43
+ # Response message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
44
44
  # @!attribute [rw] secrets
45
45
  # @return [Array<Google::Cloud::SecretManager::V1beta1::Secret>]
46
- # The list of [Secrets][google.cloud.secrets.v1beta1.Secret] sorted in reverse by create_time (newest
46
+ # The list of {Google::Cloud::SecretManager::V1beta1::Secret Secrets} sorted in reverse by create_time (newest
47
47
  # first).
48
48
  # @!attribute [rw] next_page_token
49
49
  # @return [String]
50
50
  # A token to retrieve the next page of results. Pass this value in
51
- # [ListSecretsRequest.page_token][google.cloud.secrets.v1beta1.ListSecretsRequest.page_token] to retrieve the next page.
51
+ # {Google::Cloud::SecretManager::V1beta1::ListSecretsRequest#page_token ListSecretsRequest.page_token} to retrieve the next page.
52
52
  # @!attribute [rw] total_size
53
53
  # @return [Integer]
54
- # The total number of [Secrets][google.cloud.secrets.v1beta1.Secret].
54
+ # The total number of {Google::Cloud::SecretManager::V1beta1::Secret Secrets}.
55
55
  class ListSecretsResponse
56
56
  include Google::Protobuf::MessageExts
57
57
  extend Google::Protobuf::MessageExts::ClassMethods
58
58
  end
59
59
 
60
- # Request message for [SecretManagerService.CreateSecret][google.cloud.secrets.v1beta1.SecretManagerService.CreateSecret].
60
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#create_secret SecretManagerService.CreateSecret}.
61
61
  # @!attribute [rw] parent
62
62
  # @return [String]
63
63
  # Required. The resource name of the project to associate with the
64
- # [Secret][google.cloud.secrets.v1beta1.Secret], in the format `projects/*`.
64
+ # {Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*`.
65
65
  # @!attribute [rw] secret_id
66
66
  # @return [String]
67
67
  # Required. This must be unique within the project.
68
68
  # @!attribute [rw] secret
69
69
  # @return [Google::Cloud::SecretManager::V1beta1::Secret]
70
- # A [Secret][google.cloud.secrets.v1beta1.Secret] with initial field values.
70
+ # A {Google::Cloud::SecretManager::V1beta1::Secret Secret} with initial field values.
71
71
  class CreateSecretRequest
72
72
  include Google::Protobuf::MessageExts
73
73
  extend Google::Protobuf::MessageExts::ClassMethods
74
74
  end
75
75
 
76
- # Request message for [SecretManagerService.AddSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.AddSecretVersion].
76
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
77
77
  # @!attribute [rw] parent
78
78
  # @return [String]
79
- # Required. The resource name of the [Secret][google.cloud.secrets.v1beta1.Secret] to associate with the
80
- # [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] in the format `projects/*/secrets/*`.
79
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} to associate with the
80
+ # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format `projects/*/secrets/*`.
81
81
  # @!attribute [rw] payload
82
82
  # @return [Google::Cloud::SecretManager::V1beta1::SecretPayload]
83
- # Required. The secret payload of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion].
83
+ # Required. The secret payload of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
84
84
  class AddSecretVersionRequest
85
85
  include Google::Protobuf::MessageExts
86
86
  extend Google::Protobuf::MessageExts::ClassMethods
87
87
  end
88
88
 
89
- # Request message for [SecretManagerService.GetSecret][google.cloud.secrets.v1beta1.SecretManagerService.GetSecret].
89
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret SecretManagerService.GetSecret}.
90
90
  # @!attribute [rw] name
91
91
  # @return [String]
92
- # Required. The resource name of the [Secret][google.cloud.secrets.v1beta1.Secret], in the format `projects/*/secrets/*`.
92
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*/secrets/*`.
93
93
  class GetSecretRequest
94
94
  include Google::Protobuf::MessageExts
95
95
  extend Google::Protobuf::MessageExts::ClassMethods
96
96
  end
97
97
 
98
- # Request message for [SecretManagerService.ListSecretVersions][google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions].
98
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
99
99
  # @!attribute [rw] parent
100
100
  # @return [String]
101
- # Required. The resource name of the [Secret][google.cloud.secrets.v1beta1.Secret] associated with the
102
- # [SecretVersions][google.cloud.secrets.v1beta1.SecretVersion] to list, in the format
101
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} associated with the
102
+ # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} to list, in the format
103
103
  # `projects/*/secrets/*`.
104
104
  # @!attribute [rw] page_size
105
105
  # @return [Integer]
@@ -115,39 +115,39 @@ module Google
115
115
  extend Google::Protobuf::MessageExts::ClassMethods
116
116
  end
117
117
 
118
- # Response message for [SecretManagerService.ListSecretVersions][google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions].
118
+ # Response message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
119
119
  # @!attribute [rw] versions
120
120
  # @return [Array<Google::Cloud::SecretManager::V1beta1::SecretVersion>]
121
- # The list of [SecretVersions][google.cloud.secrets.v1beta1.SecretVersion] sorted in reverse by
121
+ # The list of {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} sorted in reverse by
122
122
  # create_time (newest first).
123
123
  # @!attribute [rw] next_page_token
124
124
  # @return [String]
125
125
  # A token to retrieve the next page of results. Pass this value in
126
- # [ListSecretVersionsRequest.page_token][google.cloud.secrets.v1beta1.ListSecretVersionsRequest.page_token] to retrieve the next page.
126
+ # {Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest#page_token ListSecretVersionsRequest.page_token} to retrieve the next page.
127
127
  # @!attribute [rw] total_size
128
128
  # @return [Integer]
129
- # The total number of [SecretVersions][google.cloud.secrets.v1beta1.SecretVersion].
129
+ # The total number of {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}.
130
130
  class ListSecretVersionsResponse
131
131
  include Google::Protobuf::MessageExts
132
132
  extend Google::Protobuf::MessageExts::ClassMethods
133
133
  end
134
134
 
135
- # Request message for [SecretManagerService.GetSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.GetSecretVersion].
135
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret_version SecretManagerService.GetSecretVersion}.
136
136
  # @!attribute [rw] name
137
137
  # @return [String]
138
- # Required. The resource name of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] in the format
138
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
139
139
  # `projects/*/secrets/*/versions/*`.
140
140
  # `projects/*/secrets/*/versions/latest` is an alias to the `latest`
141
- # [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion].
141
+ # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
142
142
  class GetSecretVersionRequest
143
143
  include Google::Protobuf::MessageExts
144
144
  extend Google::Protobuf::MessageExts::ClassMethods
145
145
  end
146
146
 
147
- # Request message for [SecretManagerService.UpdateSecret][google.cloud.secrets.v1beta1.SecretManagerService.UpdateSecret].
147
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#update_secret SecretManagerService.UpdateSecret}.
148
148
  # @!attribute [rw] secret
149
149
  # @return [Google::Cloud::SecretManager::V1beta1::Secret]
150
- # Required. [Secret][google.cloud.secrets.v1beta1.Secret] with updated field values.
150
+ # Required. {Google::Cloud::SecretManager::V1beta1::Secret Secret} with updated field values.
151
151
  # @!attribute [rw] update_mask
152
152
  # @return [Google::Protobuf::FieldMask]
153
153
  # Required. Specifies the fields to be updated.
@@ -156,20 +156,20 @@ module Google
156
156
  extend Google::Protobuf::MessageExts::ClassMethods
157
157
  end
158
158
 
159
- # Request message for [SecretManagerService.AccessSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.AccessSecretVersion].
159
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
160
160
  # @!attribute [rw] name
161
161
  # @return [String]
162
- # Required. The resource name of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] in the format
162
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
163
163
  # `projects/*/secrets/*/versions/*`.
164
164
  class AccessSecretVersionRequest
165
165
  include Google::Protobuf::MessageExts
166
166
  extend Google::Protobuf::MessageExts::ClassMethods
167
167
  end
168
168
 
169
- # Response message for [SecretManagerService.AccessSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.AccessSecretVersion].
169
+ # Response message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
170
170
  # @!attribute [rw] name
171
171
  # @return [String]
172
- # The resource name of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] in the format
172
+ # The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
173
173
  # `projects/*/secrets/*/versions/*`.
174
174
  # @!attribute [rw] payload
175
175
  # @return [Google::Cloud::SecretManager::V1beta1::SecretPayload]
@@ -179,40 +179,40 @@ module Google
179
179
  extend Google::Protobuf::MessageExts::ClassMethods
180
180
  end
181
181
 
182
- # Request message for [SecretManagerService.DeleteSecret][google.cloud.secrets.v1beta1.SecretManagerService.DeleteSecret].
182
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#delete_secret SecretManagerService.DeleteSecret}.
183
183
  # @!attribute [rw] name
184
184
  # @return [String]
185
- # Required. The resource name of the [Secret][google.cloud.secrets.v1beta1.Secret] to delete in the format
185
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} to delete in the format
186
186
  # `projects/*/secrets/*`.
187
187
  class DeleteSecretRequest
188
188
  include Google::Protobuf::MessageExts
189
189
  extend Google::Protobuf::MessageExts::ClassMethods
190
190
  end
191
191
 
192
- # Request message for [SecretManagerService.DisableSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.DisableSecretVersion].
192
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#disable_secret_version SecretManagerService.DisableSecretVersion}.
193
193
  # @!attribute [rw] name
194
194
  # @return [String]
195
- # Required. The resource name of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] to disable in the format
195
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to disable in the format
196
196
  # `projects/*/secrets/*/versions/*`.
197
197
  class DisableSecretVersionRequest
198
198
  include Google::Protobuf::MessageExts
199
199
  extend Google::Protobuf::MessageExts::ClassMethods
200
200
  end
201
201
 
202
- # Request message for [SecretManagerService.EnableSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.EnableSecretVersion].
202
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#enable_secret_version SecretManagerService.EnableSecretVersion}.
203
203
  # @!attribute [rw] name
204
204
  # @return [String]
205
- # Required. The resource name of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] to enable in the format
205
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to enable in the format
206
206
  # `projects/*/secrets/*/versions/*`.
207
207
  class EnableSecretVersionRequest
208
208
  include Google::Protobuf::MessageExts
209
209
  extend Google::Protobuf::MessageExts::ClassMethods
210
210
  end
211
211
 
212
- # Request message for [SecretManagerService.DestroySecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.DestroySecretVersion].
212
+ # Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#destroy_secret_version SecretManagerService.DestroySecretVersion}.
213
213
  # @!attribute [rw] name
214
214
  # @return [String]
215
- # Required. The resource name of the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] to destroy in the format
215
+ # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to destroy in the format
216
216
  # `projects/*/secrets/*/versions/*`.
217
217
  class DestroySecretVersionRequest
218
218
  include Google::Protobuf::MessageExts