google-cloud-secret_manager-v1beta1 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/secret_manager/v1beta1.rb +1 -1
- data/lib/google/cloud/secret_manager/v1beta1/secret_manager_service.rb +3 -3
- data/lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb +332 -332
- data/lib/google/cloud/secret_manager/v1beta1/secret_manager_service/credentials.rb +1 -1
- data/lib/google/cloud/secret_manager/v1beta1/secret_manager_service/paths.rb +6 -6
- data/lib/google/cloud/secret_manager/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/secrets/v1beta1/resources.rb +55 -55
- data/proto_docs/google/cloud/secrets/v1beta1/service.rb +98 -98
- data/proto_docs/google/iam/v1/iam_policy.rb +15 -15
- data/proto_docs/google/iam/v1/options.rb +3 -3
- data/proto_docs/google/iam/v1/policy.rb +26 -26
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/type/expr.rb +6 -6
- metadata +2 -2
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
module V1beta1
|
25
25
|
module SecretManagerService
|
26
26
|
# Credentials for the SecretManagerService API.
|
27
|
-
class Credentials < Google::Auth::Credentials
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
28
28
|
self.scope = [
|
29
29
|
"https://www.googleapis.com/auth/cloud-platform"
|
30
30
|
]
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @param project [String]
|
35
35
|
#
|
36
|
-
# @return [String]
|
36
|
+
# @return [::String]
|
37
37
|
def project_path project:
|
38
38
|
"projects/#{project}"
|
39
39
|
end
|
@@ -48,9 +48,9 @@ module Google
|
|
48
48
|
# @param project [String]
|
49
49
|
# @param secret [String]
|
50
50
|
#
|
51
|
-
# @return [String]
|
51
|
+
# @return [::String]
|
52
52
|
def secret_path project:, secret:
|
53
|
-
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
53
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
54
54
|
|
55
55
|
"projects/#{project}/secrets/#{secret}"
|
56
56
|
end
|
@@ -66,10 +66,10 @@ module Google
|
|
66
66
|
# @param secret [String]
|
67
67
|
# @param secret_version [String]
|
68
68
|
#
|
69
|
-
# @return [String]
|
69
|
+
# @return [::String]
|
70
70
|
def secret_version_path project:, secret:, secret_version:
|
71
|
-
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
72
|
-
raise ArgumentError, "secret cannot contain /" if secret.to_s.include? "/"
|
71
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
72
|
+
raise ::ArgumentError, "secret cannot contain /" if secret.to_s.include? "/"
|
73
73
|
|
74
74
|
"projects/#{project}/secrets/#{secret}/versions/#{secret_version}"
|
75
75
|
end
|
@@ -128,7 +128,7 @@ module Google
|
|
128
128
|
# - pattern: "shelves/{shelf}"
|
129
129
|
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
130
130
|
# @!attribute [rw] type
|
131
|
-
# @return [String]
|
131
|
+
# @return [::String]
|
132
132
|
# The resource type. It must be in the format of
|
133
133
|
# \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
|
134
134
|
# singular and must not include version numbers.
|
@@ -140,7 +140,7 @@ module Google
|
|
140
140
|
# should use PascalCase (UpperCamelCase). The maximum number of
|
141
141
|
# characters allowed for the `resource_type_kind` is 100.
|
142
142
|
# @!attribute [rw] pattern
|
143
|
-
# @return [Array
|
143
|
+
# @return [::Array<::String>]
|
144
144
|
# Optional. The relative resource name pattern associated with this resource
|
145
145
|
# type. The DNS prefix of the full resource name shouldn't be specified here.
|
146
146
|
#
|
@@ -161,11 +161,11 @@ module Google
|
|
161
161
|
# the same component name (e.g. "project") refers to IDs of the same
|
162
162
|
# type of resource.
|
163
163
|
# @!attribute [rw] name_field
|
164
|
-
# @return [String]
|
164
|
+
# @return [::String]
|
165
165
|
# Optional. The field on the resource that designates the resource name
|
166
166
|
# field. If omitted, this is assumed to be "name".
|
167
167
|
# @!attribute [rw] history
|
168
|
-
# @return [Google::Api::ResourceDescriptor::History]
|
168
|
+
# @return [::Google::Api::ResourceDescriptor::History]
|
169
169
|
# Optional. The historical or future-looking state of the resource pattern.
|
170
170
|
#
|
171
171
|
# Example:
|
@@ -182,19 +182,19 @@ module Google
|
|
182
182
|
# };
|
183
183
|
# }
|
184
184
|
# @!attribute [rw] plural
|
185
|
-
# @return [String]
|
185
|
+
# @return [::String]
|
186
186
|
# The plural name used in the resource name, such as 'projects' for
|
187
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
|
191
|
-
# @return [String]
|
191
|
+
# @return [::String]
|
192
192
|
# The same concept of the `singular` field in k8s CRD spec
|
193
193
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
194
194
|
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
195
195
|
class ResourceDescriptor
|
196
|
-
include Google::Protobuf::MessageExts
|
197
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
196
|
+
include ::Google::Protobuf::MessageExts
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
198
198
|
|
199
199
|
# A description of the historical or future-looking state of the
|
200
200
|
# resource pattern.
|
@@ -216,7 +216,7 @@ module Google
|
|
216
216
|
# Defines a proto annotation that describes a string field that refers to
|
217
217
|
# an API resource.
|
218
218
|
# @!attribute [rw] type
|
219
|
-
# @return [String]
|
219
|
+
# @return [::String]
|
220
220
|
# The resource type that the annotated field references.
|
221
221
|
#
|
222
222
|
# Example:
|
@@ -227,7 +227,7 @@ module Google
|
|
227
227
|
# }];
|
228
228
|
# }
|
229
229
|
# @!attribute [rw] child_type
|
230
|
-
# @return [String]
|
230
|
+
# @return [::String]
|
231
231
|
# The resource type of a child collection that the annotated field
|
232
232
|
# references. This is useful for annotating the `parent` field that
|
233
233
|
# doesn't have a fixed resource type.
|
@@ -240,8 +240,8 @@ module Google
|
|
240
240
|
# };
|
241
241
|
# }
|
242
242
|
class ResourceReference
|
243
|
-
include Google::Protobuf::MessageExts
|
244
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
243
|
+
include ::Google::Protobuf::MessageExts
|
244
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
245
|
end
|
246
246
|
end
|
247
247
|
end
|
@@ -21,24 +21,24 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module SecretManager
|
23
23
|
module V1beta1
|
24
|
-
# A {Google::Cloud::SecretManager::V1beta1::Secret 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 {Google::Cloud::SecretManager::V1beta1::Secret Secret} is made up of zero or more {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} 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
|
-
# @return [String]
|
31
|
-
# Output only. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} in the format `projects/*/secrets/*`.
|
30
|
+
# @return [::String]
|
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
|
-
# @return [Google::Cloud::SecretManager::V1beta1::Replication]
|
34
|
-
# Required. Immutable. The replication policy of the secret data attached to the {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
|
33
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::Replication]
|
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
|
-
# @return [Google::Protobuf::Timestamp]
|
39
|
-
# Output only. The time at which the {Google::Cloud::SecretManager::V1beta1::Secret Secret} was created.
|
38
|
+
# @return [::Google::Protobuf::Timestamp]
|
39
|
+
# Output only. The time at which the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} was created.
|
40
40
|
# @!attribute [rw] labels
|
41
|
-
# @return [Google::Protobuf::Map{String => String}]
|
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
|
@@ -51,56 +51,56 @@ module Google
|
|
51
51
|
#
|
52
52
|
# No more than 64 labels can be assigned to a given resource.
|
53
53
|
class Secret
|
54
|
-
include Google::Protobuf::MessageExts
|
55
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
|
57
57
|
# @!attribute [rw] key
|
58
|
-
# @return [String]
|
58
|
+
# @return [::String]
|
59
59
|
# @!attribute [rw] value
|
60
|
-
# @return [String]
|
60
|
+
# @return [::String]
|
61
61
|
class LabelsEntry
|
62
|
-
include Google::Protobuf::MessageExts
|
63
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
67
|
# A secret version resource in the Secret Manager API.
|
68
68
|
# @!attribute [r] name
|
69
|
-
# @return [String]
|
70
|
-
# Output only. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the
|
69
|
+
# @return [::String]
|
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
|
-
# {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} IDs in a {Google::Cloud::SecretManager::V1beta1::Secret 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
|
-
# @return [Google::Protobuf::Timestamp]
|
77
|
-
# Output only. The time at which the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was created.
|
76
|
+
# @return [::Google::Protobuf::Timestamp]
|
77
|
+
# Output only. The time at which the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was created.
|
78
78
|
# @!attribute [r] destroy_time
|
79
|
-
# @return [Google::Protobuf::Timestamp]
|
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}.
|
79
|
+
# @return [::Google::Protobuf::Timestamp]
|
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
|
-
# @return [Google::Cloud::SecretManager::V1beta1::SecretVersion::State]
|
85
|
-
# Output only. The current state of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
84
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::SecretVersion::State]
|
85
|
+
# Output only. The current state of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
86
86
|
class SecretVersion
|
87
|
-
include Google::Protobuf::MessageExts
|
88
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
87
|
+
include ::Google::Protobuf::MessageExts
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
89
|
|
90
|
-
# The state of a {Google::Cloud::SecretManager::V1beta1::SecretVersion 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 {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may be accessed.
|
95
|
+
# The {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may be accessed.
|
96
96
|
ENABLED = 1
|
97
97
|
|
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}
|
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 {Google::Cloud::SecretManager::V1beta1::SecretVersion 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
|
@@ -108,53 +108,53 @@ module Google
|
|
108
108
|
|
109
109
|
# A policy that defines the replication configuration of data.
|
110
110
|
# @!attribute [rw] automatic
|
111
|
-
# @return [Google::Cloud::SecretManager::V1beta1::Replication::Automatic]
|
112
|
-
# The {Google::Cloud::SecretManager::V1beta1::Secret Secret} will automatically be replicated without any restrictions.
|
111
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::Replication::Automatic]
|
112
|
+
# The {::Google::Cloud::SecretManager::V1beta1::Secret Secret} will automatically be replicated without any restrictions.
|
113
113
|
# @!attribute [rw] user_managed
|
114
|
-
# @return [Google::Cloud::SecretManager::V1beta1::Replication::UserManaged]
|
115
|
-
# The {Google::Cloud::SecretManager::V1beta1::Secret Secret} will only be replicated into the locations specified.
|
114
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged]
|
115
|
+
# The {::Google::Cloud::SecretManager::V1beta1::Secret Secret} will only be replicated into the locations specified.
|
116
116
|
class Replication
|
117
|
-
include Google::Protobuf::MessageExts
|
118
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
117
|
+
include ::Google::Protobuf::MessageExts
|
118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
119
119
|
|
120
|
-
# A replication policy that replicates the {Google::Cloud::SecretManager::V1beta1::Secret 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
|
-
include Google::Protobuf::MessageExts
|
124
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
include ::Google::Protobuf::MessageExts
|
124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
125
125
|
end
|
126
126
|
|
127
|
-
# A replication policy that replicates the {Google::Cloud::SecretManager::V1beta1::Secret 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
|
-
# @return [Array
|
131
|
-
# Required. The list of Replicas for this {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
|
130
|
+
# @return [::Array<::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged::Replica>]
|
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
|
-
include Google::Protobuf::MessageExts
|
136
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
137
|
|
138
|
-
# Represents a Replica for this {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
|
138
|
+
# Represents a Replica for this {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
|
139
139
|
# @!attribute [rw] location
|
140
|
-
# @return [String]
|
140
|
+
# @return [::String]
|
141
141
|
# The canonical IDs of the location to replicate data.
|
142
142
|
# For example: `"us-east1"`.
|
143
143
|
class Replica
|
144
|
-
include Google::Protobuf::MessageExts
|
145
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
146
|
end
|
147
147
|
end
|
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 {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
151
|
+
# sensitive secret data that is associated with a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
152
152
|
# @!attribute [rw] data
|
153
|
-
# @return [String]
|
153
|
+
# @return [::String]
|
154
154
|
# The secret data. Must be no larger than 64KiB.
|
155
155
|
class SecretPayload
|
156
|
-
include Google::Protobuf::MessageExts
|
157
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
156
|
+
include ::Google::Protobuf::MessageExts
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
158
158
|
end
|
159
159
|
end
|
160
160
|
end
|
@@ -21,206 +21,206 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module SecretManager
|
23
23
|
module V1beta1
|
24
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
|
24
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
|
25
25
|
# @!attribute [rw] parent
|
26
|
-
# @return [String]
|
26
|
+
# @return [::String]
|
27
27
|
# Required. The resource name of the project associated with the
|
28
|
-
# {Google::Cloud::SecretManager::V1beta1::Secret Secrets}, in the format `projects/*`.
|
28
|
+
# {::Google::Cloud::SecretManager::V1beta1::Secret Secrets}, in the format `projects/*`.
|
29
29
|
# @!attribute [rw] page_size
|
30
|
-
# @return [Integer]
|
30
|
+
# @return [::Integer]
|
31
31
|
# Optional. The maximum number of results to be returned in a single page. If
|
32
32
|
# set to 0, the server decides the number of results to return. If the
|
33
33
|
# number is greater than 25000, it is capped at 25000.
|
34
34
|
# @!attribute [rw] page_token
|
35
|
-
# @return [String]
|
35
|
+
# @return [::String]
|
36
36
|
# Optional. Pagination token, returned earlier via
|
37
|
-
# {Google::Cloud::SecretManager::V1beta1::ListSecretsResponse#next_page_token ListSecretsResponse.next_page_token}.
|
37
|
+
# {::Google::Cloud::SecretManager::V1beta1::ListSecretsResponse#next_page_token ListSecretsResponse.next_page_token}.
|
38
38
|
class ListSecretsRequest
|
39
|
-
include Google::Protobuf::MessageExts
|
40
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
include ::Google::Protobuf::MessageExts
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
41
|
end
|
42
42
|
|
43
|
-
# Response message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
|
43
|
+
# Response message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
|
44
44
|
# @!attribute [rw] secrets
|
45
|
-
# @return [Array
|
46
|
-
# The list of {Google::Cloud::SecretManager::V1beta1::Secret Secrets} sorted in reverse by create_time (newest
|
45
|
+
# @return [::Array<::Google::Cloud::SecretManager::V1beta1::Secret>]
|
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
|
-
# @return [String]
|
49
|
+
# @return [::String]
|
50
50
|
# A token to retrieve the next page of results. Pass this value in
|
51
|
-
# {Google::Cloud::SecretManager::V1beta1::ListSecretsRequest#page_token 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
|
-
# @return [Integer]
|
54
|
-
# The total number of {Google::Cloud::SecretManager::V1beta1::Secret Secrets}.
|
53
|
+
# @return [::Integer]
|
54
|
+
# The total number of {::Google::Cloud::SecretManager::V1beta1::Secret Secrets}.
|
55
55
|
class ListSecretsResponse
|
56
|
-
include Google::Protobuf::MessageExts
|
57
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
include ::Google::Protobuf::MessageExts
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
58
|
end
|
59
59
|
|
60
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#create_secret SecretManagerService.CreateSecret}.
|
60
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#create_secret SecretManagerService.CreateSecret}.
|
61
61
|
# @!attribute [rw] parent
|
62
|
-
# @return [String]
|
62
|
+
# @return [::String]
|
63
63
|
# Required. The resource name of the project to associate with the
|
64
|
-
# {Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*`.
|
64
|
+
# {::Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*`.
|
65
65
|
# @!attribute [rw] secret_id
|
66
|
-
# @return [String]
|
66
|
+
# @return [::String]
|
67
67
|
# Required. This must be unique within the project.
|
68
68
|
#
|
69
69
|
# A secret ID is a string with a maximum length of 255 characters and can
|
70
70
|
# contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and
|
71
71
|
# underscore (`_`) characters.
|
72
72
|
# @!attribute [rw] secret
|
73
|
-
# @return [Google::Cloud::SecretManager::V1beta1::Secret]
|
74
|
-
# A {Google::Cloud::SecretManager::V1beta1::Secret Secret} with initial field values.
|
73
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::Secret]
|
74
|
+
# A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with initial field values.
|
75
75
|
class CreateSecretRequest
|
76
|
-
include Google::Protobuf::MessageExts
|
77
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
76
|
+
include ::Google::Protobuf::MessageExts
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
78
|
end
|
79
79
|
|
80
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
|
80
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
|
81
81
|
# @!attribute [rw] parent
|
82
|
-
# @return [String]
|
83
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} to associate with the
|
84
|
-
# {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format `projects/*/secrets/*`.
|
82
|
+
# @return [::String]
|
83
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to associate with the
|
84
|
+
# {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format `projects/*/secrets/*`.
|
85
85
|
# @!attribute [rw] payload
|
86
|
-
# @return [Google::Cloud::SecretManager::V1beta1::SecretPayload]
|
87
|
-
# Required. The secret payload of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
86
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::SecretPayload]
|
87
|
+
# Required. The secret payload of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
88
88
|
class AddSecretVersionRequest
|
89
|
-
include Google::Protobuf::MessageExts
|
90
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
89
|
+
include ::Google::Protobuf::MessageExts
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
91
91
|
end
|
92
92
|
|
93
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret SecretManagerService.GetSecret}.
|
93
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret SecretManagerService.GetSecret}.
|
94
94
|
# @!attribute [rw] name
|
95
|
-
# @return [String]
|
96
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*/secrets/*`.
|
95
|
+
# @return [::String]
|
96
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*/secrets/*`.
|
97
97
|
class GetSecretRequest
|
98
|
-
include Google::Protobuf::MessageExts
|
99
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
98
|
+
include ::Google::Protobuf::MessageExts
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
100
100
|
end
|
101
101
|
|
102
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
|
102
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
|
103
103
|
# @!attribute [rw] parent
|
104
|
-
# @return [String]
|
105
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} associated with the
|
106
|
-
# {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} to list, in the format
|
104
|
+
# @return [::String]
|
105
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} associated with the
|
106
|
+
# {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} to list, in the format
|
107
107
|
# `projects/*/secrets/*`.
|
108
108
|
# @!attribute [rw] page_size
|
109
|
-
# @return [Integer]
|
109
|
+
# @return [::Integer]
|
110
110
|
# Optional. The maximum number of results to be returned in a single page. If
|
111
111
|
# set to 0, the server decides the number of results to return. If the
|
112
112
|
# number is greater than 25000, it is capped at 25000.
|
113
113
|
# @!attribute [rw] page_token
|
114
|
-
# @return [String]
|
114
|
+
# @return [::String]
|
115
115
|
# Optional. Pagination token, returned earlier via
|
116
116
|
# ListSecretVersionsResponse.next_page_token][].
|
117
117
|
class ListSecretVersionsRequest
|
118
|
-
include Google::Protobuf::MessageExts
|
119
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
120
|
end
|
121
121
|
|
122
|
-
# Response message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
|
122
|
+
# Response message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
|
123
123
|
# @!attribute [rw] versions
|
124
|
-
# @return [Array
|
125
|
-
# The list of {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} sorted in reverse by
|
124
|
+
# @return [::Array<::Google::Cloud::SecretManager::V1beta1::SecretVersion>]
|
125
|
+
# The list of {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} sorted in reverse by
|
126
126
|
# create_time (newest first).
|
127
127
|
# @!attribute [rw] next_page_token
|
128
|
-
# @return [String]
|
128
|
+
# @return [::String]
|
129
129
|
# A token to retrieve the next page of results. Pass this value in
|
130
|
-
# {Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest#page_token ListSecretVersionsRequest.page_token} to retrieve the next page.
|
130
|
+
# {::Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest#page_token ListSecretVersionsRequest.page_token} to retrieve the next page.
|
131
131
|
# @!attribute [rw] total_size
|
132
|
-
# @return [Integer]
|
133
|
-
# The total number of {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}.
|
132
|
+
# @return [::Integer]
|
133
|
+
# The total number of {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}.
|
134
134
|
class ListSecretVersionsResponse
|
135
|
-
include Google::Protobuf::MessageExts
|
136
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
137
|
end
|
138
138
|
|
139
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret_version SecretManagerService.GetSecretVersion}.
|
139
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret_version SecretManagerService.GetSecretVersion}.
|
140
140
|
# @!attribute [rw] name
|
141
|
-
# @return [String]
|
142
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
|
141
|
+
# @return [::String]
|
142
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
|
143
143
|
# `projects/*/secrets/*/versions/*`.
|
144
144
|
# `projects/*/secrets/*/versions/latest` is an alias to the `latest`
|
145
|
-
# {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
145
|
+
# {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
|
146
146
|
class GetSecretVersionRequest
|
147
|
-
include Google::Protobuf::MessageExts
|
148
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
147
|
+
include ::Google::Protobuf::MessageExts
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
149
149
|
end
|
150
150
|
|
151
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#update_secret SecretManagerService.UpdateSecret}.
|
151
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#update_secret SecretManagerService.UpdateSecret}.
|
152
152
|
# @!attribute [rw] secret
|
153
|
-
# @return [Google::Cloud::SecretManager::V1beta1::Secret]
|
154
|
-
# Required. {Google::Cloud::SecretManager::V1beta1::Secret Secret} with updated field values.
|
153
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::Secret]
|
154
|
+
# Required. {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with updated field values.
|
155
155
|
# @!attribute [rw] update_mask
|
156
|
-
# @return [Google::Protobuf::FieldMask]
|
156
|
+
# @return [::Google::Protobuf::FieldMask]
|
157
157
|
# Required. Specifies the fields to be updated.
|
158
158
|
class UpdateSecretRequest
|
159
|
-
include Google::Protobuf::MessageExts
|
160
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
161
|
end
|
162
162
|
|
163
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
|
163
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
|
164
164
|
# @!attribute [rw] name
|
165
|
-
# @return [String]
|
166
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
|
165
|
+
# @return [::String]
|
166
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
|
167
167
|
# `projects/*/secrets/*/versions/*`.
|
168
168
|
class AccessSecretVersionRequest
|
169
|
-
include Google::Protobuf::MessageExts
|
170
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
include ::Google::Protobuf::MessageExts
|
170
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
171
171
|
end
|
172
172
|
|
173
|
-
# Response message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
|
173
|
+
# Response message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
|
174
174
|
# @!attribute [rw] name
|
175
|
-
# @return [String]
|
176
|
-
# The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
|
175
|
+
# @return [::String]
|
176
|
+
# The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
|
177
177
|
# `projects/*/secrets/*/versions/*`.
|
178
178
|
# @!attribute [rw] payload
|
179
|
-
# @return [Google::Cloud::SecretManager::V1beta1::SecretPayload]
|
179
|
+
# @return [::Google::Cloud::SecretManager::V1beta1::SecretPayload]
|
180
180
|
# Secret payload
|
181
181
|
class AccessSecretVersionResponse
|
182
|
-
include Google::Protobuf::MessageExts
|
183
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
182
|
+
include ::Google::Protobuf::MessageExts
|
183
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
184
184
|
end
|
185
185
|
|
186
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#delete_secret SecretManagerService.DeleteSecret}.
|
186
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#delete_secret SecretManagerService.DeleteSecret}.
|
187
187
|
# @!attribute [rw] name
|
188
|
-
# @return [String]
|
189
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} to delete in the format
|
188
|
+
# @return [::String]
|
189
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to delete in the format
|
190
190
|
# `projects/*/secrets/*`.
|
191
191
|
class DeleteSecretRequest
|
192
|
-
include Google::Protobuf::MessageExts
|
193
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
192
|
+
include ::Google::Protobuf::MessageExts
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
194
194
|
end
|
195
195
|
|
196
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#disable_secret_version SecretManagerService.DisableSecretVersion}.
|
196
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#disable_secret_version SecretManagerService.DisableSecretVersion}.
|
197
197
|
# @!attribute [rw] name
|
198
|
-
# @return [String]
|
199
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to disable in the format
|
198
|
+
# @return [::String]
|
199
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to disable in the format
|
200
200
|
# `projects/*/secrets/*/versions/*`.
|
201
201
|
class DisableSecretVersionRequest
|
202
|
-
include Google::Protobuf::MessageExts
|
203
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
202
|
+
include ::Google::Protobuf::MessageExts
|
203
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
204
204
|
end
|
205
205
|
|
206
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#enable_secret_version SecretManagerService.EnableSecretVersion}.
|
206
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#enable_secret_version SecretManagerService.EnableSecretVersion}.
|
207
207
|
# @!attribute [rw] name
|
208
|
-
# @return [String]
|
209
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to enable in the format
|
208
|
+
# @return [::String]
|
209
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to enable in the format
|
210
210
|
# `projects/*/secrets/*/versions/*`.
|
211
211
|
class EnableSecretVersionRequest
|
212
|
-
include Google::Protobuf::MessageExts
|
213
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
212
|
+
include ::Google::Protobuf::MessageExts
|
213
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
214
214
|
end
|
215
215
|
|
216
|
-
# Request message for {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#destroy_secret_version SecretManagerService.DestroySecretVersion}.
|
216
|
+
# Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#destroy_secret_version SecretManagerService.DestroySecretVersion}.
|
217
217
|
# @!attribute [rw] name
|
218
|
-
# @return [String]
|
219
|
-
# Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to destroy in the format
|
218
|
+
# @return [::String]
|
219
|
+
# Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to destroy in the format
|
220
220
|
# `projects/*/secrets/*/versions/*`.
|
221
221
|
class DestroySecretVersionRequest
|
222
|
-
include Google::Protobuf::MessageExts
|
223
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
222
|
+
include ::Google::Protobuf::MessageExts
|
223
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
224
224
|
end
|
225
225
|
end
|
226
226
|
end
|