google-api-client 0.39.3 → 0.39.4

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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  4. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  5. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  6. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  7. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  8. data/generated/google/apis/composer_v1beta1.rb +1 -1
  9. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  10. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  11. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  12. data/generated/google/apis/compute_alpha.rb +1 -1
  13. data/generated/google/apis/compute_alpha/classes.rb +142 -58
  14. data/generated/google/apis/compute_alpha/representations.rb +27 -0
  15. data/generated/google/apis/compute_alpha/service.rb +825 -668
  16. data/generated/google/apis/compute_beta.rb +1 -1
  17. data/generated/google/apis/compute_beta/classes.rb +171 -54
  18. data/generated/google/apis/compute_beta/representations.rb +47 -0
  19. data/generated/google/apis/compute_beta/service.rb +591 -591
  20. data/generated/google/apis/compute_v1.rb +1 -1
  21. data/generated/google/apis/compute_v1/classes.rb +111 -50
  22. data/generated/google/apis/compute_v1/representations.rb +16 -0
  23. data/generated/google/apis/compute_v1/service.rb +83 -0
  24. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  25. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  26. data/generated/google/apis/dialogflow_v2.rb +1 -1
  27. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  28. data/generated/google/apis/file_v1.rb +1 -1
  29. data/generated/google/apis/file_v1/classes.rb +1156 -0
  30. data/generated/google/apis/file_v1/representations.rb +381 -0
  31. data/generated/google/apis/file_v1beta1.rb +1 -1
  32. data/generated/google/apis/file_v1beta1/classes.rb +1156 -0
  33. data/generated/google/apis/file_v1beta1/representations.rb +381 -0
  34. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  35. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  36. data/generated/google/apis/jobs_v3.rb +1 -1
  37. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  38. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  39. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  40. data/generated/google/apis/ml_v1.rb +1 -1
  41. data/generated/google/apis/ml_v1/classes.rb +84 -18
  42. data/generated/google/apis/ml_v1/representations.rb +4 -0
  43. data/generated/google/apis/ml_v1/service.rb +11 -6
  44. data/generated/google/apis/monitoring_v3.rb +1 -1
  45. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  46. data/generated/google/apis/people_v1.rb +1 -1
  47. data/generated/google/apis/people_v1/service.rb +1 -1
  48. data/generated/google/apis/pubsub_v1.rb +1 -1
  49. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  50. data/generated/google/apis/secretmanager_v1.rb +1 -1
  51. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  52. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  53. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  55. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  56. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  57. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  58. data/lib/google/apis/version.rb +1 -1
  59. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42b889c9e7a55a1a1eaf758817371de44d8117c69b33c307d643640677ab0f92
4
- data.tar.gz: 474ef3d7bf61918fa2fa8d7249cebc78181e942c94bf348dc5397d07a512c80a
3
+ metadata.gz: db8c21c678436eb982d687245844b92cdeb9661cccdf9cb3ebf4533071c61d92
4
+ data.tar.gz: c58358820e86afb73b4d2c165699f7c7376dd94b2dbb2b057e25ccf54e5921a0
5
5
  SHA512:
6
- metadata.gz: '088d72313c9ed747d64d3df52c60438e06f655c9b125d6ae6d37beb21d15bf5637eee7252982cd2902295925dd5d62f44e384d68b438eeb39046e58417e3e599'
7
- data.tar.gz: 3d8cc0f60c1fac73c21ea4651e9c5dcacab716b88e5b60845d7bfd3f89cc23c8085ef7e63dec40e9789d33ab6ccce2188ac34d0f717474b28c7f4c0eefaae3c4
6
+ metadata.gz: c24c1d3840c006a643f52807572536ed2376969173185d1d45e0d6796755b2d3862d0f10aa725c629219d42f6d09b184966c74137eb91f10a90d2ab9a0ef2d45
7
+ data.tar.gz: dd1aa687ed2c2e42f8699ebabde6b2aa963f7c22f95cd45a52736eee03393ae67c7f7fb52e180d0665f6d277aeeb71dbca7217d9f7df48be8bd6ed0ecbe68004
data/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # 0.39.4
2
+ * Backwards compatible changes:
3
+ * Updated `bigtableadmin_v1`
4
+ * Updated `bigtableadmin_v2`
5
+ * Updated `cloudsearch_v1`
6
+ * Updated `composer_v1beta1`
7
+ * Updated `compute_alpha`
8
+ * Updated `compute_beta`
9
+ * Updated `compute_v1`
10
+ * Updated `datacatalog_v1beta1`
11
+ * Updated `dialogflow_v2`
12
+ * Updated `dialogflow_v2beta1`
13
+ * Updated `file_v1`
14
+ * Updated `file_v1beta1`
15
+ * Updated `firebase_v1beta1`
16
+ * Updated `jobs_v3`
17
+ * Updated `memcache_v1beta2`
18
+ * Updated `ml_v1`
19
+ * Updated `monitoring_v3`
20
+ * Updated `people_v1`
21
+ * Updated `pubsub_v1`
22
+ * Updated `secretmanager_v1`
23
+ * Updated `secretmanager_v1beta1`
24
+ * Updated `servicecontrol_v1`
25
+
1
26
  # 0.39.3
2
27
  * Backwards compatible changes:
3
28
  * Updated `appengine_v1`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigtable/
26
26
  module BigtableadminV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200211'
28
+ REVISION = '20200424'
29
29
  end
30
30
  end
31
31
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigtable/
26
26
  module BigtableadminV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200211'
28
+ REVISION = '20200424'
29
29
 
30
30
  # Administer your Cloud Bigtable tables and clusters
31
31
  AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
@@ -883,7 +883,7 @@ module Google
883
883
  execute_or_queue_command(command, &block)
884
884
  end
885
885
 
886
- # Gets the access control policy for a Table or Backup resource.
886
+ # Gets the access control policy for a Table resource.
887
887
  # Returns an empty policy if the resource exists but does not have a policy
888
888
  # set.
889
889
  # @param [String] resource
@@ -919,7 +919,7 @@ module Google
919
919
  execute_or_queue_command(command, &block)
920
920
  end
921
921
 
922
- # Sets the access control policy on a Table or Backup resource.
922
+ # Sets the access control policy on a Table resource.
923
923
  # Replaces any existing policy.
924
924
  # @param [String] resource
925
925
  # REQUIRED: The resource for which the policy is being specified.
@@ -1205,7 +1205,7 @@ module Google
1205
1205
  execute_or_queue_command(command, &block)
1206
1206
  end
1207
1207
 
1208
- # Gets the access control policy for a Table or Backup resource.
1208
+ # Gets the access control policy for a Table resource.
1209
1209
  # Returns an empty policy if the resource exists but does not have a policy
1210
1210
  # set.
1211
1211
  # @param [String] resource
@@ -1326,7 +1326,7 @@ module Google
1326
1326
  execute_or_queue_command(command, &block)
1327
1327
  end
1328
1328
 
1329
- # Sets the access control policy on a Table or Backup resource.
1329
+ # Sets the access control policy on a Table resource.
1330
1330
  # Replaces any existing policy.
1331
1331
  # @param [String] resource
1332
1332
  # REQUIRED: The resource for which the policy is being specified.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-search/docs/guides/
27
27
  module CloudsearchV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200421'
29
+ REVISION = '20200505'
30
30
 
31
31
  # Index and serve your organization's data with Cloud Search
32
32
  AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
@@ -974,10 +974,12 @@ module Google
974
974
  # @return [Fixnum]
975
975
  attr_accessor :count
976
976
 
977
- # Percent of results that match the bucket value. This value is between
978
- # (0-100]. Percentages are returned for all searches, but are an estimate.
979
- # Because percentages are always returned, you should render percentages
980
- # instead of counts.
977
+ # Percent of results that match the bucket value. The returned value is
978
+ # between (0-100], and is rounded down to an integer if fractional. If the
979
+ # value is not explicitly returned, it represents a percentage value that
980
+ # rounds to 0. Percentages are returned for all searches, but are an
981
+ # estimate. Because percentages are always returned, you should render
982
+ # percentages instead of counts.
981
983
  # Corresponds to the JSON property `percentage`
982
984
  # @return [Fixnum]
983
985
  attr_accessor :percentage
@@ -2550,7 +2552,7 @@ module Google
2550
2552
  # The user friendly label to display in the search result to indicate the
2551
2553
  # type of the item. This is OPTIONAL; if not provided, an object label isn't
2552
2554
  # displayed on the context line of the search results. The maximum length
2553
- # is 32 characters.
2555
+ # is 64 characters.
2554
2556
  # Corresponds to the JSON property `objectDisplayLabel`
2555
2557
  # @return [String]
2556
2558
  attr_accessor :object_display_label
@@ -3097,7 +3099,7 @@ module Google
3097
3099
  # display name given was 'priority', then the user sees 'priority : 1' in
3098
3100
  # the search results which provides clear context to search users. This is
3099
3101
  # OPTIONAL; if not given, only the property values are displayed.
3100
- # The maximum length is 32 characters.
3102
+ # The maximum length is 64 characters.
3101
3103
  # Corresponds to the JSON property `displayLabel`
3102
3104
  # @return [String]
3103
3105
  attr_accessor :display_label
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200421'
28
+ REVISION = '20200505'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -53,6 +53,27 @@ module Google
53
53
  end
54
54
  end
55
55
 
56
+ # The configuration of Cloud SQL instance that is used by the Apache Airflow
57
+ # software.
58
+ class DatabaseConfig
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # Optional. Cloud SQL tier used by Airflow database.
62
+ # If not specified, db-n1-standard-2 will be used.
63
+ # Corresponds to the JSON property `machineType`
64
+ # @return [String]
65
+ attr_accessor :machine_type
66
+
67
+ def initialize(**args)
68
+ update!(**args)
69
+ end
70
+
71
+ # Update properties of this object
72
+ def update!(**args)
73
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
74
+ end
75
+ end
76
+
56
77
  # A generic empty message that you can re-use to avoid defining duplicated
57
78
  # empty messages in your APIs. A typical example is to use it as the request
58
79
  # or the response type of an API method. For instance:
@@ -159,6 +180,12 @@ module Google
159
180
  # @return [String]
160
181
  attr_accessor :dag_gcs_prefix
161
182
 
183
+ # The configuration of Cloud SQL instance that is used by the Apache Airflow
184
+ # software.
185
+ # Corresponds to the JSON property `databaseConfig`
186
+ # @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
187
+ attr_accessor :database_config
188
+
162
189
  # Output only. The Kubernetes Engine cluster used to run this environment.
163
190
  # Corresponds to the JSON property `gkeCluster`
164
191
  # @return [String]
@@ -187,6 +214,11 @@ module Google
187
214
  # @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
188
215
  attr_accessor :software_config
189
216
 
217
+ # The configuration settings for the Airflow web server App Engine instance.
218
+ # Corresponds to the JSON property `webServerConfig`
219
+ # @return [Google::Apis::ComposerV1beta1::WebServerConfig]
220
+ attr_accessor :web_server_config
221
+
190
222
  # Network-level access control policy for the Airflow web server.
191
223
  # Corresponds to the JSON property `webServerNetworkAccessControl`
192
224
  # @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]
@@ -200,11 +232,13 @@ module Google
200
232
  def update!(**args)
201
233
  @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
202
234
  @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
235
+ @database_config = args[:database_config] if args.key?(:database_config)
203
236
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
204
237
  @node_config = args[:node_config] if args.key?(:node_config)
205
238
  @node_count = args[:node_count] if args.key?(:node_count)
206
239
  @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
207
240
  @software_config = args[:software_config] if args.key?(:software_config)
241
+ @web_server_config = args[:web_server_config] if args.key?(:web_server_config)
208
242
  @web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
209
243
  end
210
244
  end
@@ -863,6 +897,30 @@ module Google
863
897
  end
864
898
  end
865
899
 
900
+ # The configuration settings for the Airflow web server App Engine instance.
901
+ class WebServerConfig
902
+ include Google::Apis::Core::Hashable
903
+
904
+ # Optional. Machine type on which Airflow web server is running.
905
+ # For example: composer-n1-webserver-2, composer-n1-webserver-4,
906
+ # composer-n1-webserver-8.
907
+ # If not specified, composer-n1-webserver-2 will be used.
908
+ # Value custom is returned only in response, if Airflow web server parameters
909
+ # were manually changed to a non-standard values.
910
+ # Corresponds to the JSON property `machineType`
911
+ # @return [String]
912
+ attr_accessor :machine_type
913
+
914
+ def initialize(**args)
915
+ update!(**args)
916
+ end
917
+
918
+ # Update properties of this object
919
+ def update!(**args)
920
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
921
+ end
922
+ end
923
+
866
924
  # Network-level access control policy for the Airflow web server.
867
925
  class WebServerNetworkAccessControl
868
926
  include Google::Apis::Core::Hashable
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class DatabaseConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Empty
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -118,6 +124,12 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class WebServerConfig
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class WebServerNetworkAccessControl
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -132,6 +144,13 @@ module Google
132
144
  end
133
145
  end
134
146
 
147
+ class DatabaseConfig
148
+ # @private
149
+ class Representation < Google::Apis::Core::JsonRepresentation
150
+ property :machine_type, as: 'machineType'
151
+ end
152
+ end
153
+
135
154
  class Empty
136
155
  # @private
137
156
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -157,6 +176,8 @@ module Google
157
176
  class Representation < Google::Apis::Core::JsonRepresentation
158
177
  property :airflow_uri, as: 'airflowUri'
159
178
  property :dag_gcs_prefix, as: 'dagGcsPrefix'
179
+ property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1beta1::DatabaseConfig, decorator: Google::Apis::ComposerV1beta1::DatabaseConfig::Representation
180
+
160
181
  property :gke_cluster, as: 'gkeCluster'
161
182
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation
162
183
 
@@ -165,6 +186,8 @@ module Google
165
186
 
166
187
  property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1beta1::SoftwareConfig, decorator: Google::Apis::ComposerV1beta1::SoftwareConfig::Representation
167
188
 
189
+ property :web_server_config, as: 'webServerConfig', class: Google::Apis::ComposerV1beta1::WebServerConfig, decorator: Google::Apis::ComposerV1beta1::WebServerConfig::Representation
190
+
168
191
  property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl::Representation
169
192
 
170
193
  end
@@ -298,6 +321,13 @@ module Google
298
321
  end
299
322
  end
300
323
 
324
+ class WebServerConfig
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :machine_type, as: 'machineType'
328
+ end
329
+ end
330
+
301
331
  class WebServerNetworkAccessControl
302
332
  # @private
303
333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -283,6 +283,11 @@ module Google
283
283
  # </td>
284
284
  # </tr>
285
285
  # <tr>
286
+ # <td>config.webServerNetworkAccessControl</td>
287
+ # <td>Replace the environment's current WebServerNetworkAccessControl.
288
+ # </td>
289
+ # </tr>
290
+ # <tr>
286
291
  # <td>config.softwareConfig.airflowConfigOverrides</td>
287
292
  # <td>Replace all Apache Airflow config overrides. If a replacement config
288
293
  # overrides map is not included in `environment`, all config overrides
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20200331'
28
+ REVISION = '20200427'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1150,8 +1150,9 @@ module Google
1150
1150
  # @return [String]
1151
1151
  attr_accessor :location_hint
1152
1152
 
1153
- # Compute Engine Long Term Release. When specified, VMs that have this policy
1154
- # become long term release (internal: stable fleet) VMs.
1153
+ # DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138):
1154
+ # Remove this field. Compute Engine Long Term Release. When specified, VMs that
1155
+ # have this policy become long term release (internal: stable fleet) VMs.
1155
1156
  # For all VM shapes, this should result in fewer disruptions due to software
1156
1157
  # updates and greater predictability via 1 week extended notifications.
1157
1158
  # For GPU VMs, this should also result in an 2 week uptime guarantee. See go/
@@ -3182,7 +3183,7 @@ module Google
3182
3183
  # and the backends are instance groups. The named port must be defined on each
3183
3184
  # backend instance group. This parameter has no meaning if the backends are NEGs.
3184
3185
  # Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
3185
- # Load Blaancing).
3186
+ # Load Balancing).
3186
3187
  # Corresponds to the JSON property `portName`
3187
3188
  # @return [String]
3188
3189
  attr_accessor :port_name
@@ -5191,13 +5192,15 @@ module Google
5191
5192
  # Specifies the regualar expression patterns that match allowed origins. For
5192
5193
  # regular expression grammar please see en.cppreference.com/w/cpp/regex/
5193
5194
  # ecmascript
5194
- # An origin is allowed if it matches either allow_origins or allow_origin_regex.
5195
+ # An origin is allowed if it matches either an item in allowOrigins or an item
5196
+ # in allowOriginRegexes.
5195
5197
  # Corresponds to the JSON property `allowOriginRegexes`
5196
5198
  # @return [Array<String>]
5197
5199
  attr_accessor :allow_origin_regexes
5198
5200
 
5199
5201
  # Specifies the list of origins that will be allowed to do CORS requests.
5200
- # An origin is allowed if it matches either allow_origins or allow_origin_regex.
5202
+ # An origin is allowed if it matches either an item in allowOrigins or an item
5203
+ # in allowOriginRegexes.
5201
5204
  # Corresponds to the JSON property `allowOrigins`
5202
5205
  # @return [Array<String>]
5203
5206
  attr_accessor :allow_origins
@@ -6955,12 +6958,15 @@ module Google
6955
6958
  end
6956
6959
  end
6957
6960
 
6961
+ # Represents an external VPN gateway.
6958
6962
  # External VPN gateway is the on-premises VPN gateway(s) or another cloud
6959
- # provider's VPN gateway that connects to your Google Cloud VPN gateway. To
6960
- # create a highly available VPN from Google Cloud to your on-premises side or
6961
- # another Cloud provider's VPN gateway, you must create a external VPN gateway
6962
- # resource in GCP, which provides the information to GCP about your external VPN
6963
- # gateway.
6963
+ # provider's VPN gateway that connects to your Google Cloud VPN gateway.
6964
+ # To create a highly available VPN from Google Cloud Platform to your VPN
6965
+ # gateway or another cloud provider's VPN gateway, you must create a external
6966
+ # VPN gateway resource with information about the other gateway.
6967
+ # For more information about using external VPN gateways, see Creating an HA
6968
+ # VPN gateway and tunnel pair to a peer VPN. (== resource_for `$api_version`.
6969
+ # externalVpnGateways ==)
6964
6970
  class ExternalVpnGateway
6965
6971
  include Google::Apis::Core::Hashable
6966
6972
 
@@ -7216,7 +7222,7 @@ module Google
7216
7222
  # @return [String]
7217
7223
  attr_accessor :content
7218
7224
 
7219
- #
7225
+ # The file type of source file.
7220
7226
  # Corresponds to the JSON property `fileType`
7221
7227
  # @return [String]
7222
7228
  attr_accessor :file_type
@@ -8536,16 +8542,18 @@ module Google
8536
8542
  # Google groups, and domains (such as G Suite). A `role` is a named list of
8537
8543
  # permissions; each `role` can be an IAM predefined role or a user-created
8538
8544
  # custom role.
8539
- # Optionally, a `binding` can specify a `condition`, which is a logical
8540
- # expression that allows access to a resource only if the expression evaluates
8541
- # to `true`. A condition can add constraints based on attributes of the request,
8542
- # the resource, or both.
8545
+ # For some types of Google Cloud resources, a `binding` can also specify a `
8546
+ # condition`, which is a logical expression that allows access to a resource
8547
+ # only if the expression evaluates to `true`. A condition can add constraints
8548
+ # based on attributes of the request, the resource, or both. To learn which
8549
+ # resources support conditions in their IAM policies, see the [IAM documentation]
8550
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
8543
8551
  # **JSON example:**
8544
8552
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
8545
8553
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
8546
8554
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
8547
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
8548
- # "condition": ` "title": "expirable access", "description": "Does not grant
8555
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
8556
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
8549
8557
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
8550
8558
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
8551
8559
  # **YAML example:**
@@ -9263,9 +9271,8 @@ module Google
9263
9271
  end
9264
9272
  end
9265
9273
 
9266
- # A HealthCheckService defines a set of backends on which to perform periodic
9267
- # health checks and an endpoint to which to send notification of changes in the
9268
- # health status of the backends.
9274
+ # Represents a Health-Check as a Service resource.
9275
+ # (== resource_for `$api_version`.regionHealthCheckServices ==)
9269
9276
  class HealthCheckService
9270
9277
  include Google::Apis::Core::Hashable
9271
9278
 
@@ -11988,7 +11995,7 @@ module Google
11988
11995
  # @return [Array<String>]
11989
11996
  attr_accessor :resource_policies
11990
11997
 
11991
- # Sets the scheduling options for an Instance. NextID: 10
11998
+ # Sets the scheduling options for an Instance. NextID: 11
11992
11999
  # Corresponds to the JSON property `scheduling`
11993
12000
  # @return [Google::Apis::ComputeAlpha::Scheduling]
11994
12001
  attr_accessor :scheduling
@@ -14789,7 +14796,7 @@ module Google
14789
14796
  # @return [Array<String>]
14790
14797
  attr_accessor :resource_policies
14791
14798
 
14792
- # Sets the scheduling options for an Instance. NextID: 10
14799
+ # Sets the scheduling options for an Instance. NextID: 11
14793
14800
  # Corresponds to the JSON property `scheduling`
14794
14801
  # @return [Google::Apis::ComputeAlpha::Scheduling]
14795
14802
  attr_accessor :scheduling
@@ -18054,10 +18061,7 @@ module Google
18054
18061
  class LogConfigDataAccessOptions
18055
18062
  include Google::Apis::Core::Hashable
18056
18063
 
18057
- # Whether Gin logging should happen in a fail-closed manner at the caller. This
18058
- # is currently supported in the LocalIAM implementation, Stubby C++, and Stubby
18059
- # Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626):
18060
- # Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding.
18064
+ #
18061
18065
  # Corresponds to the JSON property `logMode`
18062
18066
  # @return [String]
18063
18067
  attr_accessor :log_mode
@@ -19417,8 +19421,11 @@ module Google
19417
19421
  end
19418
19422
 
19419
19423
  # Represents a collection of network endpoints.
19420
- # For more information read Network endpoint groups overview. (== resource_for `$
19421
- # api_version`.networkEndpointGroups ==) Next ID: 21
19424
+ # A network endpoint group (NEG) defines how a set of endpoints should be
19425
+ # reached, whether they are reachable, and where they are located. For more
19426
+ # information about using NEGs, see Setting up internet NEGs or Setting up
19427
+ # zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (==
19428
+ # resource_for `$api_version`.globalNetworkEndpointGroups ==)
19422
19429
  class NetworkEndpointGroup
19423
19430
  include Google::Apis::Core::Hashable
19424
19431
 
@@ -20038,7 +20045,7 @@ module Google
20038
20045
  attr_accessor :endpoint_filters
20039
20046
 
20040
20047
  # Optional query parameter for showing the health status of each network
20041
- # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter,
20048
+ # endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter,
20042
20049
  # the health status of network endpoints will not be provided.
20043
20050
  # Corresponds to the JSON property `healthStatus`
20044
20051
  # @return [String]
@@ -22510,8 +22517,12 @@ module Google
22510
22517
  end
22511
22518
  end
22512
22519
 
22520
+ # Represents a notification endpoint.
22513
22521
  # A notification endpoint resource defines an endpoint to receive notifications
22514
22522
  # when there are status changes detected by the associated health check service.
22523
+ # For more information, see Health checks overview. (== resource_for `$
22524
+ # api_version`.notificationEndpoint ==) (== resource_for `$api_version`.
22525
+ # regionNotificationEndpoints ==)
22515
22526
  class NotificationEndpoint
22516
22527
  include Google::Apis::Core::Hashable
22517
22528
 
@@ -23607,7 +23618,12 @@ module Google
23607
23618
  end
23608
23619
  end
23609
23620
 
23610
- # Represents a PacketMirroring resource.
23621
+ # Represents a Packet Mirroring resource.
23622
+ # Packet Mirroring clones the traffic of specified instances in your Virtual
23623
+ # Private Cloud (VPC) network and forwards it to a collector destination, such
23624
+ # as an instance group of an internal TCP/UDP load balancer, for analysis or
23625
+ # examination. For more information about setting up Packet Mirroring, see Using
23626
+ # Packet Mirroring. (== resource_for `$api_version`.packetMirrorings ==)
23611
23627
  class PacketMirroring
23612
23628
  include Google::Apis::Core::Hashable
23613
23629
 
@@ -24539,16 +24555,18 @@ module Google
24539
24555
  # Google groups, and domains (such as G Suite). A `role` is a named list of
24540
24556
  # permissions; each `role` can be an IAM predefined role or a user-created
24541
24557
  # custom role.
24542
- # Optionally, a `binding` can specify a `condition`, which is a logical
24543
- # expression that allows access to a resource only if the expression evaluates
24544
- # to `true`. A condition can add constraints based on attributes of the request,
24545
- # the resource, or both.
24558
+ # For some types of Google Cloud resources, a `binding` can also specify a `
24559
+ # condition`, which is a logical expression that allows access to a resource
24560
+ # only if the expression evaluates to `true`. A condition can add constraints
24561
+ # based on attributes of the request, the resource, or both. To learn which
24562
+ # resources support conditions in their IAM policies, see the [IAM documentation]
24563
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
24546
24564
  # **JSON example:**
24547
24565
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
24548
24566
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
24549
24567
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
24550
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
24551
- # "condition": ` "title": "expirable access", "description": "Does not grant
24568
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
24569
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
24552
24570
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
24553
24571
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
24554
24572
  # **YAML example:**
@@ -24623,6 +24641,9 @@ module Google
24623
24641
  # conditions in the version `3` policy are lost.
24624
24642
  # If a policy does not include any conditions, operations on that policy may
24625
24643
  # specify any valid version or leave the field unset.
24644
+ # To learn which resources support conditions in their IAM policies, see the [
24645
+ # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
24646
+ # policies).
24626
24647
  # Corresponds to the JSON property `version`
24627
24648
  # @return [Fixnum]
24628
24649
  attr_accessor :version
@@ -27313,16 +27334,18 @@ module Google
27313
27334
  # Google groups, and domains (such as G Suite). A `role` is a named list of
27314
27335
  # permissions; each `role` can be an IAM predefined role or a user-created
27315
27336
  # custom role.
27316
- # Optionally, a `binding` can specify a `condition`, which is a logical
27317
- # expression that allows access to a resource only if the expression evaluates
27318
- # to `true`. A condition can add constraints based on attributes of the request,
27319
- # the resource, or both.
27337
+ # For some types of Google Cloud resources, a `binding` can also specify a `
27338
+ # condition`, which is a logical expression that allows access to a resource
27339
+ # only if the expression evaluates to `true`. A condition can add constraints
27340
+ # based on attributes of the request, the resource, or both. To learn which
27341
+ # resources support conditions in their IAM policies, see the [IAM documentation]
27342
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
27320
27343
  # **JSON example:**
27321
27344
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
27322
27345
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
27323
27346
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
27324
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
27325
- # "condition": ` "title": "expirable access", "description": "Does not grant
27347
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
27348
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
27326
27349
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
27327
27350
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
27328
27351
  # **YAML example:**
@@ -30669,7 +30692,7 @@ module Google
30669
30692
  end
30670
30693
  end
30671
30694
 
30672
- # Sets the scheduling options for an Instance. NextID: 10
30695
+ # Sets the scheduling options for an Instance. NextID: 11
30673
30696
  class Scheduling
30674
30697
  include Google::Apis::Core::Hashable
30675
30698
 
@@ -30698,8 +30721,9 @@ module Google
30698
30721
  # @return [String]
30699
30722
  attr_accessor :location_hint
30700
30723
 
30701
- # Compute Engine Long Term Release. When specified, VMs that have this policy
30702
- # become long term release (internal: stable fleet) VMs.
30724
+ # DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138):
30725
+ # Remove this field. Compute Engine Long Term Release. When specified, VMs that
30726
+ # have this policy become long term release (internal: stable fleet) VMs.
30703
30727
  # For all VM shapes, this should result in fewer disruptions due to software
30704
30728
  # updates and greater predictability via 1 week extended notifications.
30705
30729
  # For GPU VMs, this should also result in an 2 week uptime guarantee. See go/
@@ -31963,19 +31987,20 @@ module Google
31963
31987
  class ShieldedInstanceConfig
31964
31988
  include Google::Apis::Core::Hashable
31965
31989
 
31966
- # Defines whether the instance has integrity monitoring enabled.
31990
+ # Defines whether the instance has integrity monitoring enabled. Enabled by
31991
+ # default.
31967
31992
  # Corresponds to the JSON property `enableIntegrityMonitoring`
31968
31993
  # @return [Boolean]
31969
31994
  attr_accessor :enable_integrity_monitoring
31970
31995
  alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
31971
31996
 
31972
- # Defines whether the instance has Secure Boot enabled.
31997
+ # Defines whether the instance has Secure Boot enabled. Disabled by default.
31973
31998
  # Corresponds to the JSON property `enableSecureBoot`
31974
31999
  # @return [Boolean]
31975
32000
  attr_accessor :enable_secure_boot
31976
32001
  alias_method :enable_secure_boot?, :enable_secure_boot
31977
32002
 
31978
- # Defines whether the instance has the vTPM enabled.
32003
+ # Defines whether the instance has the vTPM enabled. Enabled by default.
31979
32004
  # Corresponds to the JSON property `enableVtpm`
31980
32005
  # @return [Boolean]
31981
32006
  attr_accessor :enable_vtpm
@@ -32639,7 +32664,7 @@ module Google
32639
32664
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
32640
32665
  attr_accessor :network_interfaces
32641
32666
 
32642
- # Sets the scheduling options for an Instance. NextID: 10
32667
+ # Sets the scheduling options for an Instance. NextID: 11
32643
32668
  # Corresponds to the JSON property `scheduling`
32644
32669
  # @return [Google::Apis::ComputeAlpha::Scheduling]
32645
32670
  attr_accessor :scheduling
@@ -33655,7 +33680,8 @@ module Google
33655
33680
 
33656
33681
  # Whether to enable flow logging for this subnetwork. If this field is not
33657
33682
  # explicitly set, it will not appear in get listings. If not set the default
33658
- # behavior is to disable flow logging.
33683
+ # behavior is to disable flow logging. This field isn't supported with the
33684
+ # purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
33659
33685
  # Corresponds to the JSON property `enableFlowLogs`
33660
33686
  # @return [Boolean]
33661
33687
  attr_accessor :enable_flow_logs
@@ -33781,7 +33807,8 @@ module Google
33781
33807
  # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
33782
33808
  # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
33783
33809
  # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
33784
- # PRIVATE_RFC_1918.
33810
+ # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
33811
+ # field set to INTERNAL_HTTPS_LOAD_BALANCER.
33785
33812
  # Corresponds to the JSON property `purpose`
33786
33813
  # @return [String]
33787
33814
  attr_accessor :purpose
@@ -34448,6 +34475,17 @@ module Google
34448
34475
  # @return [String]
34449
34476
  attr_accessor :description
34450
34477
 
34478
+ # Fingerprint of this resource. A hash of the contents stored in this object.
34479
+ # This field is used in optimistic locking. This field will be ignored when
34480
+ # inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in
34481
+ # order to patch/update the TargetGrpcProxy; otherwise, the request will fail
34482
+ # with error 412 conditionNotMet. To see the latest fingerprint, make a get()
34483
+ # request to retrieve the TargetGrpcProxy.
34484
+ # Corresponds to the JSON property `fingerprint`
34485
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
34486
+ # @return [String]
34487
+ attr_accessor :fingerprint
34488
+
34451
34489
  # [Output Only] The unique identifier for the resource type. The server
34452
34490
  # generates this identifier.
34453
34491
  # Corresponds to the JSON property `id`
@@ -34508,6 +34546,7 @@ module Google
34508
34546
  def update!(**args)
34509
34547
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
34510
34548
  @description = args[:description] if args.key?(:description)
34549
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
34511
34550
  @id = args[:id] if args.key?(:id)
34512
34551
  @kind = args[:kind] if args.key?(:kind)
34513
34552
  @name = args[:name] if args.key?(:name)
@@ -35172,6 +35211,25 @@ module Google
35172
35211
  end
35173
35212
  end
35174
35213
 
35214
+ #
35215
+ class TargetHttpsProxiesSetCertificateMapRequest
35216
+ include Google::Apis::Core::Hashable
35217
+
35218
+ # URL of the Certificate Map to associate with this TargetHttpsProxy.
35219
+ # Corresponds to the JSON property `certificateMap`
35220
+ # @return [String]
35221
+ attr_accessor :certificate_map
35222
+
35223
+ def initialize(**args)
35224
+ update!(**args)
35225
+ end
35226
+
35227
+ # Update properties of this object
35228
+ def update!(**args)
35229
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
35230
+ end
35231
+ end
35232
+
35175
35233
  #
35176
35234
  class TargetHttpsProxiesSetQuicOverrideRequest
35177
35235
  include Google::Apis::Core::Hashable
@@ -36667,6 +36725,25 @@ module Google
36667
36725
  end
36668
36726
  end
36669
36727
 
36728
+ #
36729
+ class TargetSslProxiesSetCertificateMapRequest
36730
+ include Google::Apis::Core::Hashable
36731
+
36732
+ # URL of the Certificate Map to associate with this TargetSslProxy.
36733
+ # Corresponds to the JSON property `certificateMap`
36734
+ # @return [String]
36735
+ attr_accessor :certificate_map
36736
+
36737
+ def initialize(**args)
36738
+ update!(**args)
36739
+ end
36740
+
36741
+ # Update properties of this object
36742
+ def update!(**args)
36743
+ @certificate_map = args[:certificate_map] if args.key?(:certificate_map)
36744
+ end
36745
+ end
36746
+
36670
36747
  #
36671
36748
  class TargetSslProxiesSetProxyHeaderRequest
36672
36749
  include Google::Apis::Core::Hashable
@@ -38966,7 +39043,12 @@ module Google
38966
39043
  end
38967
39044
  end
38968
39045
 
38969
- # Represents a VPN gateway resource. Next ID: 13
39046
+ # Represents a HA VPN gateway.
39047
+ # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely
39048
+ # connect your on-premises network to your Google Cloud Virtual Private Cloud
39049
+ # network through an IPsec VPN connection in a single region. For more
39050
+ # information about Cloud HA VPN solutions, see Cloud VPN topologies . (==
39051
+ # resource_for `$api_version`.vpnGateways ==)
38970
39052
  class VpnGateway
38971
39053
  include Google::Apis::Core::Hashable
38972
39054
 
@@ -40601,16 +40683,18 @@ module Google
40601
40683
  # Google groups, and domains (such as G Suite). A `role` is a named list of
40602
40684
  # permissions; each `role` can be an IAM predefined role or a user-created
40603
40685
  # custom role.
40604
- # Optionally, a `binding` can specify a `condition`, which is a logical
40605
- # expression that allows access to a resource only if the expression evaluates
40606
- # to `true`. A condition can add constraints based on attributes of the request,
40607
- # the resource, or both.
40686
+ # For some types of Google Cloud resources, a `binding` can also specify a `
40687
+ # condition`, which is a logical expression that allows access to a resource
40688
+ # only if the expression evaluates to `true`. A condition can add constraints
40689
+ # based on attributes of the request, the resource, or both. To learn which
40690
+ # resources support conditions in their IAM policies, see the [IAM documentation]
40691
+ # (https://cloud.google.com/iam/help/conditions/resource-policies).
40608
40692
  # **JSON example:**
40609
40693
  # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
40610
40694
  # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
40611
40695
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
40612
- # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
40613
- # "condition": ` "title": "expirable access", "description": "Does not grant
40696
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
40697
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
40614
40698
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
40615
40699
  # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
40616
40700
  # **YAML example:**