google-apis-cloudfunctions_v1 0.6.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e784a4cd21026930104548bf424e62d2d24a25f304310d70869f8f19f89aaad
4
- data.tar.gz: fc2093675e10e9cc6124bc758d7ce613023f8487f7e28ebc06c543f5548f4442
3
+ metadata.gz: ae6af7df42f8002674f33964a120f4b268d92e203b86213270b9185abc9878e2
4
+ data.tar.gz: e90fb3968cb2983bdbe8c14492c3236048c5fb3a458e1485875f4d1aca2c572a
5
5
  SHA512:
6
- metadata.gz: '0495169bb24dd54f7357eb58c4145ffc4ba40f365f5602f927ae10e199083f7556461c22f1419ea24fa1df9dc31468e8a04f4fcd73848d7ee7aea0a8340e9ef6'
7
- data.tar.gz: 403a1d7bd4549d394fcc35fbf2fb5f4a2a814ca11519106d2eebc1326350eebaa4990d4d2c2174531211c5c81713e7aa6d6e9a71ababd33f8d3cbfc2333180fe
6
+ metadata.gz: 9791e3f0c20d5003e35c00c108133d216bbd845d00d05add188e46fb916341f9b05470dfce4f28c51f39918402999d39937e1cf3a2432008926616e891b016bc
7
+ data.tar.gz: 5c88fab7857dea4917451f6b0131f0ba77c34e051bfd3c145a82fd4c3f29e09f659b08c5b4270b4d3207aa61cd481e73b5eb6a5f604254ed035ac545b2a748e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudfunctions_v1
2
2
 
3
+ ### v0.10.0 (2021-07-15)
4
+
5
+ * Regenerated from discovery document revision 20210708
6
+
7
+ ### v0.9.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.8.0 (2021-06-24)
12
+
13
+ * Regenerated using generator version 0.3.0
14
+
15
+ ### v0.7.0 (2021-05-19)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.6.0 (2021-04-16)
4
20
 
5
21
  * Regenerated from discovery document revision 20210409
@@ -327,6 +327,16 @@ module Google
327
327
  # @return [String]
328
328
  attr_accessor :runtime
329
329
 
330
+ # Secret environment variables configuration.
331
+ # Corresponds to the JSON property `secretEnvironmentVariables`
332
+ # @return [Array<Google::Apis::CloudfunctionsV1::SecretEnvVar>]
333
+ attr_accessor :secret_environment_variables
334
+
335
+ # Secret volumes configuration.
336
+ # Corresponds to the JSON property `secretVolumes`
337
+ # @return [Array<Google::Apis::CloudfunctionsV1::SecretVolume>]
338
+ attr_accessor :secret_volumes
339
+
330
340
  # The email of the function's service account. If empty, defaults to ``
331
341
  # project_id`@appspot.gserviceaccount.com`.
332
342
  # Corresponds to the JSON property `serviceAccountEmail`
@@ -417,6 +427,8 @@ module Google
417
427
  @name = args[:name] if args.key?(:name)
418
428
  @network = args[:network] if args.key?(:network)
419
429
  @runtime = args[:runtime] if args.key?(:runtime)
430
+ @secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
431
+ @secret_volumes = args[:secret_volumes] if args.key?(:secret_volumes)
420
432
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
421
433
  @source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url)
422
434
  @source_repository = args[:source_repository] if args.key?(:source_repository)
@@ -1029,6 +1041,127 @@ module Google
1029
1041
  end
1030
1042
  end
1031
1043
 
1044
+ # Configuration for a secret environment variable. It has the information
1045
+ # necessary to fetch the secret value from secret manager and expose it as an
1046
+ # environment variable. Secret value is not a part of the configuration. Secret
1047
+ # values are only fetched when a new clone starts.
1048
+ class SecretEnvVar
1049
+ include Google::Apis::Core::Hashable
1050
+
1051
+ # Name of the environment variable.
1052
+ # Corresponds to the JSON property `key`
1053
+ # @return [String]
1054
+ attr_accessor :key
1055
+
1056
+ # Project whose secret manager data is being referenced. Cross project secrets
1057
+ # are not supported.
1058
+ # Corresponds to the JSON property `projectId`
1059
+ # @return [String]
1060
+ attr_accessor :project_id
1061
+
1062
+ # Name of the secret in secret manager (not the full resource name).
1063
+ # Corresponds to the JSON property `secret`
1064
+ # @return [String]
1065
+ attr_accessor :secret
1066
+
1067
+ # Version of the secret (version number or the string 'latest'). It is
1068
+ # recommended to use a numeric version for secret environment variables as any
1069
+ # updates to the secret value is not reflected until new clones start.
1070
+ # Corresponds to the JSON property `version`
1071
+ # @return [String]
1072
+ attr_accessor :version
1073
+
1074
+ def initialize(**args)
1075
+ update!(**args)
1076
+ end
1077
+
1078
+ # Update properties of this object
1079
+ def update!(**args)
1080
+ @key = args[:key] if args.key?(:key)
1081
+ @project_id = args[:project_id] if args.key?(:project_id)
1082
+ @secret = args[:secret] if args.key?(:secret)
1083
+ @version = args[:version] if args.key?(:version)
1084
+ end
1085
+ end
1086
+
1087
+ # Configuration for a single version.
1088
+ class SecretVersion
1089
+ include Google::Apis::Core::Hashable
1090
+
1091
+ # Relative path of the file under the mount path where the secret value for this
1092
+ # version will be fetched and made available. For example, setting the
1093
+ # mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret
1094
+ # value file at `/etc/secrets/secret_foo`.
1095
+ # Corresponds to the JSON property `path`
1096
+ # @return [String]
1097
+ attr_accessor :path
1098
+
1099
+ # Version of the secret (version number or the string 'latest'). It is
1100
+ # preferrable to use `latest` version with secret volumes as secret value
1101
+ # changes are reflected immediately.
1102
+ # Corresponds to the JSON property `version`
1103
+ # @return [String]
1104
+ attr_accessor :version
1105
+
1106
+ def initialize(**args)
1107
+ update!(**args)
1108
+ end
1109
+
1110
+ # Update properties of this object
1111
+ def update!(**args)
1112
+ @path = args[:path] if args.key?(:path)
1113
+ @version = args[:version] if args.key?(:version)
1114
+ end
1115
+ end
1116
+
1117
+ # Configuration for a secret volume. It has the information necessary to fetch
1118
+ # the secret value from secret manager and make it available as files mounted at
1119
+ # the requested paths within the application container. Secret value is not a
1120
+ # part of the configuration. Every filesystem read operation performs a lookup
1121
+ # in secret manager to retrieve the secret value.
1122
+ class SecretVolume
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ # The path within the container to mount the secret volume. For example, setting
1126
+ # the mount_path as `/etc/secrets` would mount the secret value files under the `
1127
+ # /etc/secrets` directory. This directory will also be completely shadowed and
1128
+ # unavailable to mount any other secrets. Recommended mount paths: /etc/secrets
1129
+ # Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
1130
+ # Corresponds to the JSON property `mountPath`
1131
+ # @return [String]
1132
+ attr_accessor :mount_path
1133
+
1134
+ # Project whose secret manager data is being referenced. Cross project secrets
1135
+ # are not supported.
1136
+ # Corresponds to the JSON property `projectId`
1137
+ # @return [String]
1138
+ attr_accessor :project_id
1139
+
1140
+ # Name of the secret in secret manager (not the full resource name).
1141
+ # Corresponds to the JSON property `secret`
1142
+ # @return [String]
1143
+ attr_accessor :secret
1144
+
1145
+ # List of secret versions to mount for this secret. If empty, the `latest`
1146
+ # version of the secret will be made available in a file named after the secret
1147
+ # under the mount point.
1148
+ # Corresponds to the JSON property `versions`
1149
+ # @return [Array<Google::Apis::CloudfunctionsV1::SecretVersion>]
1150
+ attr_accessor :versions
1151
+
1152
+ def initialize(**args)
1153
+ update!(**args)
1154
+ end
1155
+
1156
+ # Update properties of this object
1157
+ def update!(**args)
1158
+ @mount_path = args[:mount_path] if args.key?(:mount_path)
1159
+ @project_id = args[:project_id] if args.key?(:project_id)
1160
+ @secret = args[:secret] if args.key?(:secret)
1161
+ @versions = args[:versions] if args.key?(:versions)
1162
+ end
1163
+ end
1164
+
1032
1165
  # Request message for `SetIamPolicy` method.
1033
1166
  class SetIamPolicyRequest
1034
1167
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudfunctionsV1
18
18
  # Version of the google-apis-cloudfunctions_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210409"
25
+ REVISION = "20210708"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,24 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class SecretEnvVar
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class SecretVersion
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class SecretVolume
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class SetIamPolicyRequest
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
@@ -247,6 +265,10 @@ module Google
247
265
  property :name, as: 'name'
248
266
  property :network, as: 'network'
249
267
  property :runtime, as: 'runtime'
268
+ collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV1::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV1::SecretEnvVar::Representation
269
+
270
+ collection :secret_volumes, as: 'secretVolumes', class: Google::Apis::CloudfunctionsV1::SecretVolume, decorator: Google::Apis::CloudfunctionsV1::SecretVolume::Representation
271
+
250
272
  property :service_account_email, as: 'serviceAccountEmail'
251
273
  property :source_archive_url, as: 'sourceArchiveUrl'
252
274
  property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1::SourceRepository, decorator: Google::Apis::CloudfunctionsV1::SourceRepository::Representation
@@ -409,6 +431,35 @@ module Google
409
431
  end
410
432
  end
411
433
 
434
+ class SecretEnvVar
435
+ # @private
436
+ class Representation < Google::Apis::Core::JsonRepresentation
437
+ property :key, as: 'key'
438
+ property :project_id, as: 'projectId'
439
+ property :secret, as: 'secret'
440
+ property :version, as: 'version'
441
+ end
442
+ end
443
+
444
+ class SecretVersion
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :path, as: 'path'
448
+ property :version, as: 'version'
449
+ end
450
+ end
451
+
452
+ class SecretVolume
453
+ # @private
454
+ class Representation < Google::Apis::Core::JsonRepresentation
455
+ property :mount_path, as: 'mountPath'
456
+ property :project_id, as: 'projectId'
457
+ property :secret, as: 'secret'
458
+ collection :versions, as: 'versions', class: Google::Apis::CloudfunctionsV1::SecretVersion, decorator: Google::Apis::CloudfunctionsV1::SecretVersion::Representation
459
+
460
+ end
461
+ end
462
+
412
463
  class SetIamPolicyRequest
413
464
  # @private
414
465
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-18 00:00:00.000000000 Z
11
+ date: 2021-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Functions API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudfunctions_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.10.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudfunctions_v1
57
63
  post_install_message:
58
64
  rdoc_options: []