google-api-client 0.20.0 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -1
  5. data/generated/google/apis/bigquery_v2.rb +1 -1
  6. data/generated/google/apis/bigquery_v2/classes.rb +2 -2
  7. data/generated/google/apis/classroom_v1.rb +1 -1
  8. data/generated/google/apis/classroom_v1/classes.rb +2 -1
  9. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  10. data/generated/google/apis/cloudbuild_v1/classes.rb +34 -0
  11. data/generated/google/apis/cloudbuild_v1/representations.rb +17 -0
  12. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  13. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
  14. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  15. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
  16. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  17. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
  18. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  19. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
  20. data/generated/google/apis/compute_alpha.rb +1 -1
  21. data/generated/google/apis/compute_alpha/classes.rb +536 -20
  22. data/generated/google/apis/compute_alpha/representations.rb +228 -2
  23. data/generated/google/apis/compute_alpha/service.rb +1860 -593
  24. data/generated/google/apis/compute_beta.rb +1 -1
  25. data/generated/google/apis/compute_beta/classes.rb +14 -0
  26. data/generated/google/apis/compute_beta/representations.rb +3 -0
  27. data/generated/google/apis/compute_beta/service.rb +3 -3
  28. data/generated/google/apis/compute_v1.rb +1 -1
  29. data/generated/google/apis/compute_v1/classes.rb +698 -21
  30. data/generated/google/apis/compute_v1/representations.rb +268 -0
  31. data/generated/google/apis/compute_v1/service.rb +778 -14
  32. data/generated/google/apis/content_v2.rb +1 -1
  33. data/generated/google/apis/content_v2/classes.rb +53 -1
  34. data/generated/google/apis/content_v2/representations.rb +18 -0
  35. data/generated/google/apis/content_v2/service.rb +62 -4
  36. data/generated/google/apis/dataproc_v1.rb +1 -1
  37. data/generated/google/apis/dataproc_v1/classes.rb +11 -7
  38. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  39. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -5
  40. data/generated/google/apis/dlp_v2.rb +1 -1
  41. data/generated/google/apis/dlp_v2/classes.rb +2 -1
  42. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  43. data/generated/google/apis/dlp_v2beta1/classes.rb +2 -1
  44. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta2/classes.rb +2 -1
  46. data/generated/google/apis/drive_v2.rb +1 -1
  47. data/generated/google/apis/drive_v2/classes.rb +2 -1
  48. data/generated/google/apis/drive_v2/service.rb +6 -5
  49. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  50. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +141 -1
  51. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +56 -0
  52. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +40 -0
  53. data/generated/google/apis/genomics_v1.rb +1 -1
  54. data/generated/google/apis/genomics_v1/classes.rb +0 -16
  55. data/generated/google/apis/genomics_v1/service.rb +0 -120
  56. data/generated/google/apis/groupssettings_v1.rb +1 -1
  57. data/generated/google/apis/groupssettings_v1/classes.rb +4 -3
  58. data/generated/google/apis/iam_v1.rb +1 -1
  59. data/generated/google/apis/iam_v1/classes.rb +0 -1
  60. data/generated/google/apis/manufacturers_v1.rb +1 -1
  61. data/generated/google/apis/manufacturers_v1/classes.rb +70 -7
  62. data/generated/google/apis/manufacturers_v1/representations.rb +23 -0
  63. data/generated/google/apis/manufacturers_v1/service.rb +17 -3
  64. data/generated/google/apis/partners_v2.rb +1 -1
  65. data/generated/google/apis/partners_v2/classes.rb +10 -1
  66. data/generated/google/apis/partners_v2/representations.rb +1 -0
  67. data/generated/google/apis/people_v1.rb +1 -1
  68. data/generated/google/apis/people_v1/classes.rb +2 -1
  69. data/generated/google/apis/safebrowsing_v4.rb +2 -2
  70. data/generated/google/apis/safebrowsing_v4/service.rb +1 -1
  71. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  72. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  73. data/generated/google/apis/serviceuser_v1.rb +1 -1
  74. data/generated/google/apis/serviceuser_v1/classes.rb +1 -6
  75. data/generated/google/apis/spanner_v1.rb +1 -1
  76. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  77. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -27
  78. data/generated/google/apis/testing_v1.rb +2 -2
  79. data/generated/google/apis/testing_v1/classes.rb +2 -1
  80. data/generated/google/apis/testing_v1/service.rb +1 -1
  81. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  82. data/lib/google/apis/version.rb +1 -1
  83. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20180314'
28
+ REVISION = '20180323'
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'
@@ -2328,6 +2328,11 @@ module Google
2328
2328
  # @return [String]
2329
2329
  attr_accessor :creation_timestamp
2330
2330
 
2331
+ # Headers that the HTTP/S load balancer should add to proxied requests.
2332
+ # Corresponds to the JSON property `customRequestHeaders`
2333
+ # @return [Array<String>]
2334
+ attr_accessor :custom_request_headers
2335
+
2331
2336
  # An optional description of this resource. Provide this property when you
2332
2337
  # create the resource.
2333
2338
  # Corresponds to the JSON property `description`
@@ -2464,6 +2469,7 @@ module Google
2464
2469
  @cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
2465
2470
  @connection_draining = args[:connection_draining] if args.key?(:connection_draining)
2466
2471
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
2472
+ @custom_request_headers = args[:custom_request_headers] if args.key?(:custom_request_headers)
2467
2473
  @description = args[:description] if args.key?(:description)
2468
2474
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
2469
2475
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -16462,6 +16468,13 @@ module Google
16462
16468
  # @return [Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfig]
16463
16469
  attr_accessor :config
16464
16470
 
16471
+ # Represents an expression text. Example:
16472
+ # title: "User account presence" description: "Determines whether the request
16473
+ # has a user account" expression: "size(request.user) > 0"
16474
+ # Corresponds to the JSON property `expr`
16475
+ # @return [Google::Apis::ComputeBeta::Expr]
16476
+ attr_accessor :expr
16477
+
16465
16478
  # CIDR IP address range.
16466
16479
  # Corresponds to the JSON property `srcIpRanges`
16467
16480
  # @return [Array<String>]
@@ -16482,6 +16495,7 @@ module Google
16482
16495
  # Update properties of this object
16483
16496
  def update!(**args)
16484
16497
  @config = args[:config] if args.key?(:config)
16498
+ @expr = args[:expr] if args.key?(:expr)
16485
16499
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
16486
16500
  @versioned_expr = args[:versioned_expr] if args.key?(:versioned_expr)
16487
16501
  end
@@ -3564,6 +3564,7 @@ module Google
3564
3564
  property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeBeta::ConnectionDraining, decorator: Google::Apis::ComputeBeta::ConnectionDraining::Representation
3565
3565
 
3566
3566
  property :creation_timestamp, as: 'creationTimestamp'
3567
+ collection :custom_request_headers, as: 'customRequestHeaders'
3567
3568
  property :description, as: 'description'
3568
3569
  property :enable_cdn, as: 'enableCDN'
3569
3570
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -7084,6 +7085,8 @@ module Google
7084
7085
  class Representation < Google::Apis::Core::JsonRepresentation
7085
7086
  property :config, as: 'config', class: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyRuleMatcherConfig::Representation
7086
7087
 
7088
+ property :expr, as: 'expr', class: Google::Apis::ComputeBeta::Expr, decorator: Google::Apis::ComputeBeta::Expr::Representation
7089
+
7087
7090
  collection :src_ip_ranges, as: 'srcIpRanges'
7088
7091
  property :versioned_expr, as: 'versionedExpr'
7089
7092
  end
@@ -17769,9 +17769,9 @@ module Google
17769
17769
 
17770
17770
  # Patches the specified subnetwork with the data included in the request. Only
17771
17771
  # the following fields within the subnetwork resource can be specified in the
17772
- # request: secondary_ip_range and allow_subnet_cidr_routes_overlap. It is also
17773
- # mandatory to specify the current fingeprint of the subnetwork resource being
17774
- # patched.
17772
+ # request: secondary_ip_range, allow_subnet_cidr_routes_overlap and role. It is
17773
+ # also mandatory to specify the current fingeprint of the subnetwork resource
17774
+ # being patched.
17775
17775
  # @param [String] project
17776
17776
  # Project ID for this request.
17777
17777
  # @param [String] region
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180314'
28
+ REVISION = '20180323'
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'
@@ -3373,6 +3373,11 @@ module Google
3373
3373
  # @return [String]
3374
3374
  attr_accessor :last_detach_timestamp
3375
3375
 
3376
+ # Integer license codes indicating which licenses are attached to this disk.
3377
+ # Corresponds to the JSON property `licenseCodes`
3378
+ # @return [Array<Fixnum>]
3379
+ attr_accessor :license_codes
3380
+
3376
3381
  # Any applicable publicly visible licenses.
3377
3382
  # Corresponds to the JSON property `licenses`
3378
3383
  # @return [Array<String>]
@@ -3507,6 +3512,7 @@ module Google
3507
3512
  @labels = args[:labels] if args.key?(:labels)
3508
3513
  @last_attach_timestamp = args[:last_attach_timestamp] if args.key?(:last_attach_timestamp)
3509
3514
  @last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp)
3515
+ @license_codes = args[:license_codes] if args.key?(:license_codes)
3510
3516
  @licenses = args[:licenses] if args.key?(:licenses)
3511
3517
  @name = args[:name] if args.key?(:name)
3512
3518
  @options = args[:options] if args.key?(:options)
@@ -6186,6 +6192,11 @@ module Google
6186
6192
  # @return [Hash<String,String>]
6187
6193
  attr_accessor :labels
6188
6194
 
6195
+ # Integer license codes indicating which licenses are attached to this image.
6196
+ # Corresponds to the JSON property `licenseCodes`
6197
+ # @return [Array<Fixnum>]
6198
+ attr_accessor :license_codes
6199
+
6189
6200
  # Any applicable license URI.
6190
6201
  # Corresponds to the JSON property `licenses`
6191
6202
  # @return [Array<String>]
@@ -6309,6 +6320,7 @@ module Google
6309
6320
  @kind = args[:kind] if args.key?(:kind)
6310
6321
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
6311
6322
  @labels = args[:labels] if args.key?(:labels)
6323
+ @license_codes = args[:license_codes] if args.key?(:license_codes)
6312
6324
  @licenses = args[:licenses] if args.key?(:licenses)
6313
6325
  @name = args[:name] if args.key?(:name)
6314
6326
  @raw_disk = args[:raw_disk] if args.key?(:raw_disk)
@@ -10072,22 +10084,57 @@ module Google
10072
10084
  attr_accessor :charges_use_fee
10073
10085
  alias_method :charges_use_fee?, :charges_use_fee
10074
10086
 
10087
+ # [Output Only] Creation timestamp in RFC3339 text format.
10088
+ # Corresponds to the JSON property `creationTimestamp`
10089
+ # @return [String]
10090
+ attr_accessor :creation_timestamp
10091
+
10092
+ # An optional textual description of the resource; provided by the client when
10093
+ # the resource is created.
10094
+ # Corresponds to the JSON property `description`
10095
+ # @return [String]
10096
+ attr_accessor :description
10097
+
10098
+ # [Output Only] The unique identifier for the resource. This identifier is
10099
+ # defined by the server.
10100
+ # Corresponds to the JSON property `id`
10101
+ # @return [Fixnum]
10102
+ attr_accessor :id
10103
+
10075
10104
  # [Output Only] Type of resource. Always compute#license for licenses.
10076
10105
  # Corresponds to the JSON property `kind`
10077
10106
  # @return [String]
10078
10107
  attr_accessor :kind
10079
10108
 
10109
+ # [Output Only] The unique code used to attach this license to images, snapshots,
10110
+ # and disks.
10111
+ # Corresponds to the JSON property `licenseCode`
10112
+ # @return [Fixnum]
10113
+ attr_accessor :license_code
10114
+
10080
10115
  # [Output Only] Name of the resource. The name is 1-63 characters long and
10081
10116
  # complies with RFC1035.
10082
10117
  # Corresponds to the JSON property `name`
10083
10118
  # @return [String]
10084
10119
  attr_accessor :name
10085
10120
 
10121
+ #
10122
+ # Corresponds to the JSON property `resourceRequirements`
10123
+ # @return [Google::Apis::ComputeV1::LicenseResourceRequirements]
10124
+ attr_accessor :resource_requirements
10125
+
10086
10126
  # [Output Only] Server-defined URL for the resource.
10087
10127
  # Corresponds to the JSON property `selfLink`
10088
10128
  # @return [String]
10089
10129
  attr_accessor :self_link
10090
10130
 
10131
+ # If false, licenses will not be copied from the source resource when creating
10132
+ # an image from a disk, disk from snapshot, or snapshot from disk.
10133
+ # Corresponds to the JSON property `transferable`
10134
+ # @return [Boolean]
10135
+ attr_accessor :transferable
10136
+ alias_method :transferable?, :transferable
10137
+
10091
10138
  def initialize(**args)
10092
10139
  update!(**args)
10093
10140
  end
@@ -10095,9 +10142,250 @@ module Google
10095
10142
  # Update properties of this object
10096
10143
  def update!(**args)
10097
10144
  @charges_use_fee = args[:charges_use_fee] if args.key?(:charges_use_fee)
10145
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
10146
+ @description = args[:description] if args.key?(:description)
10147
+ @id = args[:id] if args.key?(:id)
10148
+ @kind = args[:kind] if args.key?(:kind)
10149
+ @license_code = args[:license_code] if args.key?(:license_code)
10150
+ @name = args[:name] if args.key?(:name)
10151
+ @resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
10152
+ @self_link = args[:self_link] if args.key?(:self_link)
10153
+ @transferable = args[:transferable] if args.key?(:transferable)
10154
+ end
10155
+ end
10156
+
10157
+ #
10158
+ class LicenseCode
10159
+ include Google::Apis::Core::Hashable
10160
+
10161
+ # [Output Only] Creation timestamp in RFC3339 text format.
10162
+ # Corresponds to the JSON property `creationTimestamp`
10163
+ # @return [String]
10164
+ attr_accessor :creation_timestamp
10165
+
10166
+ # [Output Only] Description of this License Code.
10167
+ # Corresponds to the JSON property `description`
10168
+ # @return [String]
10169
+ attr_accessor :description
10170
+
10171
+ # [Output Only] The unique identifier for the resource. This identifier is
10172
+ # defined by the server.
10173
+ # Corresponds to the JSON property `id`
10174
+ # @return [Fixnum]
10175
+ attr_accessor :id
10176
+
10177
+ # [Output Only] Type of resource. Always compute#licenseCode for licenses.
10178
+ # Corresponds to the JSON property `kind`
10179
+ # @return [String]
10180
+ attr_accessor :kind
10181
+
10182
+ # [Output Only] URL and description aliases of Licenses with the same License
10183
+ # Code.
10184
+ # Corresponds to the JSON property `licenseAlias`
10185
+ # @return [Array<Google::Apis::ComputeV1::LicenseCodeLicenseAlias>]
10186
+ attr_accessor :license_alias
10187
+
10188
+ # [Output Only] Name of the resource. The name is 1-20 characters long and must
10189
+ # be a valid 64 bit integer.
10190
+ # Corresponds to the JSON property `name`
10191
+ # @return [String]
10192
+ attr_accessor :name
10193
+
10194
+ # [Output Only] Server-defined URL for the resource.
10195
+ # Corresponds to the JSON property `selfLink`
10196
+ # @return [String]
10197
+ attr_accessor :self_link
10198
+
10199
+ # [Output Only] Current state of this License Code.
10200
+ # Corresponds to the JSON property `state`
10201
+ # @return [String]
10202
+ attr_accessor :state
10203
+
10204
+ # [Output Only] If true, the license will remain attached when creating images
10205
+ # or snapshots from disks. Otherwise, the license is not transferred.
10206
+ # Corresponds to the JSON property `transferable`
10207
+ # @return [Boolean]
10208
+ attr_accessor :transferable
10209
+ alias_method :transferable?, :transferable
10210
+
10211
+ def initialize(**args)
10212
+ update!(**args)
10213
+ end
10214
+
10215
+ # Update properties of this object
10216
+ def update!(**args)
10217
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
10218
+ @description = args[:description] if args.key?(:description)
10219
+ @id = args[:id] if args.key?(:id)
10098
10220
  @kind = args[:kind] if args.key?(:kind)
10221
+ @license_alias = args[:license_alias] if args.key?(:license_alias)
10099
10222
  @name = args[:name] if args.key?(:name)
10100
10223
  @self_link = args[:self_link] if args.key?(:self_link)
10224
+ @state = args[:state] if args.key?(:state)
10225
+ @transferable = args[:transferable] if args.key?(:transferable)
10226
+ end
10227
+ end
10228
+
10229
+ #
10230
+ class LicenseCodeLicenseAlias
10231
+ include Google::Apis::Core::Hashable
10232
+
10233
+ # [Output Only] Description of this License Code.
10234
+ # Corresponds to the JSON property `description`
10235
+ # @return [String]
10236
+ attr_accessor :description
10237
+
10238
+ # [Output Only] URL of license corresponding to this License Code.
10239
+ # Corresponds to the JSON property `selfLink`
10240
+ # @return [String]
10241
+ attr_accessor :self_link
10242
+
10243
+ def initialize(**args)
10244
+ update!(**args)
10245
+ end
10246
+
10247
+ # Update properties of this object
10248
+ def update!(**args)
10249
+ @description = args[:description] if args.key?(:description)
10250
+ @self_link = args[:self_link] if args.key?(:self_link)
10251
+ end
10252
+ end
10253
+
10254
+ #
10255
+ class LicenseResourceRequirements
10256
+ include Google::Apis::Core::Hashable
10257
+
10258
+ # Minimum number of guest cpus required to use the Instance. Enforced at
10259
+ # Instance creation and Instance start.
10260
+ # Corresponds to the JSON property `minGuestCpuCount`
10261
+ # @return [Fixnum]
10262
+ attr_accessor :min_guest_cpu_count
10263
+
10264
+ # Minimum memory required to use the Instance. Enforced at Instance creation and
10265
+ # Instance start.
10266
+ # Corresponds to the JSON property `minMemoryMb`
10267
+ # @return [Fixnum]
10268
+ attr_accessor :min_memory_mb
10269
+
10270
+ def initialize(**args)
10271
+ update!(**args)
10272
+ end
10273
+
10274
+ # Update properties of this object
10275
+ def update!(**args)
10276
+ @min_guest_cpu_count = args[:min_guest_cpu_count] if args.key?(:min_guest_cpu_count)
10277
+ @min_memory_mb = args[:min_memory_mb] if args.key?(:min_memory_mb)
10278
+ end
10279
+ end
10280
+
10281
+ #
10282
+ class LicensesListResponse
10283
+ include Google::Apis::Core::Hashable
10284
+
10285
+ # [Output Only] Unique identifier for the resource; defined by the server.
10286
+ # Corresponds to the JSON property `id`
10287
+ # @return [String]
10288
+ attr_accessor :id
10289
+
10290
+ # A list of License resources.
10291
+ # Corresponds to the JSON property `items`
10292
+ # @return [Array<Google::Apis::ComputeV1::License>]
10293
+ attr_accessor :items
10294
+
10295
+ # [Output Only] This token allows you to get the next page of results for list
10296
+ # requests. If the number of results is larger than maxResults, use the
10297
+ # nextPageToken as a value for the query parameter pageToken in the next list
10298
+ # request. Subsequent list requests will have their own nextPageToken to
10299
+ # continue paging through the results.
10300
+ # Corresponds to the JSON property `nextPageToken`
10301
+ # @return [String]
10302
+ attr_accessor :next_page_token
10303
+
10304
+ # [Output Only] Server-defined URL for this resource.
10305
+ # Corresponds to the JSON property `selfLink`
10306
+ # @return [String]
10307
+ attr_accessor :self_link
10308
+
10309
+ # [Output Only] Informational warning message.
10310
+ # Corresponds to the JSON property `warning`
10311
+ # @return [Google::Apis::ComputeV1::LicensesListResponse::Warning]
10312
+ attr_accessor :warning
10313
+
10314
+ def initialize(**args)
10315
+ update!(**args)
10316
+ end
10317
+
10318
+ # Update properties of this object
10319
+ def update!(**args)
10320
+ @id = args[:id] if args.key?(:id)
10321
+ @items = args[:items] if args.key?(:items)
10322
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10323
+ @self_link = args[:self_link] if args.key?(:self_link)
10324
+ @warning = args[:warning] if args.key?(:warning)
10325
+ end
10326
+
10327
+ # [Output Only] Informational warning message.
10328
+ class Warning
10329
+ include Google::Apis::Core::Hashable
10330
+
10331
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
10332
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
10333
+ # Corresponds to the JSON property `code`
10334
+ # @return [String]
10335
+ attr_accessor :code
10336
+
10337
+ # [Output Only] Metadata about this warning in key: value format. For example:
10338
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
10339
+ # Corresponds to the JSON property `data`
10340
+ # @return [Array<Google::Apis::ComputeV1::LicensesListResponse::Warning::Datum>]
10341
+ attr_accessor :data
10342
+
10343
+ # [Output Only] A human-readable description of the warning code.
10344
+ # Corresponds to the JSON property `message`
10345
+ # @return [String]
10346
+ attr_accessor :message
10347
+
10348
+ def initialize(**args)
10349
+ update!(**args)
10350
+ end
10351
+
10352
+ # Update properties of this object
10353
+ def update!(**args)
10354
+ @code = args[:code] if args.key?(:code)
10355
+ @data = args[:data] if args.key?(:data)
10356
+ @message = args[:message] if args.key?(:message)
10357
+ end
10358
+
10359
+ #
10360
+ class Datum
10361
+ include Google::Apis::Core::Hashable
10362
+
10363
+ # [Output Only] A key that provides more detail on the warning being returned.
10364
+ # For example, for warnings where there are no results in a list request for a
10365
+ # particular zone, this key might be scope and the key value might be the zone
10366
+ # name. Other examples might be a key indicating a deprecated resource and a
10367
+ # suggested replacement, or a warning about invalid network settings (for
10368
+ # example, if an instance attempts to perform IP forwarding but is not enabled
10369
+ # for IP forwarding).
10370
+ # Corresponds to the JSON property `key`
10371
+ # @return [String]
10372
+ attr_accessor :key
10373
+
10374
+ # [Output Only] A warning data value corresponding to the key.
10375
+ # Corresponds to the JSON property `value`
10376
+ # @return [String]
10377
+ attr_accessor :value
10378
+
10379
+ def initialize(**args)
10380
+ update!(**args)
10381
+ end
10382
+
10383
+ # Update properties of this object
10384
+ def update!(**args)
10385
+ @key = args[:key] if args.key?(:key)
10386
+ @value = args[:value] if args.key?(:value)
10387
+ end
10388
+ end
10101
10389
  end
10102
10390
  end
10103
10391
 
@@ -14406,6 +14694,11 @@ module Google
14406
14694
  # @return [Hash<String,String>]
14407
14695
  attr_accessor :labels
14408
14696
 
14697
+ # Integer license codes indicating which licenses are attached to this snapshot.
14698
+ # Corresponds to the JSON property `licenseCodes`
14699
+ # @return [Array<Fixnum>]
14700
+ attr_accessor :license_codes
14701
+
14409
14702
  # [Output Only] A list of public visible licenses that apply to this snapshot.
14410
14703
  # This can be because the original image had licenses attached (such as a
14411
14704
  # Windows image).
@@ -14483,6 +14776,7 @@ module Google
14483
14776
  @kind = args[:kind] if args.key?(:kind)
14484
14777
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
14485
14778
  @labels = args[:labels] if args.key?(:labels)
14779
+ @license_codes = args[:license_codes] if args.key?(:license_codes)
14486
14780
  @licenses = args[:licenses] if args.key?(:licenses)
14487
14781
  @name = args[:name] if args.key?(:name)
14488
14782
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -14805,34 +15099,362 @@ module Google
14805
15099
  end
14806
15100
  end
14807
15101
 
14808
- # A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for
14809
- # v1.subnetworks ==)
14810
- class Subnetwork
15102
+ #
15103
+ class SslPoliciesList
14811
15104
  include Google::Apis::Core::Hashable
14812
15105
 
14813
- # [Output Only] Creation timestamp in RFC3339 text format.
14814
- # Corresponds to the JSON property `creationTimestamp`
15106
+ # [Output Only] Unique identifier for the resource; defined by the server.
15107
+ # Corresponds to the JSON property `id`
14815
15108
  # @return [String]
14816
- attr_accessor :creation_timestamp
15109
+ attr_accessor :id
14817
15110
 
14818
- # An optional description of this resource. Provide this property when you
14819
- # create the resource. This field can be set only at resource creation time.
14820
- # Corresponds to the JSON property `description`
14821
- # @return [String]
14822
- attr_accessor :description
15111
+ # A list of SslPolicy resources.
15112
+ # Corresponds to the JSON property `items`
15113
+ # @return [Array<Google::Apis::ComputeV1::SslPolicy>]
15114
+ attr_accessor :items
14823
15115
 
14824
- # Fingerprint of this resource. A hash of the contents stored in this object.
14825
- # This field is used in optimistic locking. This field will be ignored when
14826
- # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
14827
- # update the Subnetwork.
14828
- # Corresponds to the JSON property `fingerprint`
14829
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
15116
+ # [Output Only] Type of the resource. Always compute#sslPoliciesList for lists
15117
+ # of sslPolicies.
15118
+ # Corresponds to the JSON property `kind`
14830
15119
  # @return [String]
14831
- attr_accessor :fingerprint
15120
+ attr_accessor :kind
14832
15121
 
14833
- # [Output Only] The gateway address for default routes to reach destination
14834
- # addresses outside this subnetwork.
14835
- # Corresponds to the JSON property `gatewayAddress`
15122
+ # [Output Only] This token allows you to get the next page of results for list
15123
+ # requests. If the number of results is larger than maxResults, use the
15124
+ # nextPageToken as a value for the query parameter pageToken in the next list
15125
+ # request. Subsequent list requests will have their own nextPageToken to
15126
+ # continue paging through the results.
15127
+ # Corresponds to the JSON property `nextPageToken`
15128
+ # @return [String]
15129
+ attr_accessor :next_page_token
15130
+
15131
+ # [Output Only] Server-defined URL for this resource.
15132
+ # Corresponds to the JSON property `selfLink`
15133
+ # @return [String]
15134
+ attr_accessor :self_link
15135
+
15136
+ # [Output Only] Informational warning message.
15137
+ # Corresponds to the JSON property `warning`
15138
+ # @return [Google::Apis::ComputeV1::SslPoliciesList::Warning]
15139
+ attr_accessor :warning
15140
+
15141
+ def initialize(**args)
15142
+ update!(**args)
15143
+ end
15144
+
15145
+ # Update properties of this object
15146
+ def update!(**args)
15147
+ @id = args[:id] if args.key?(:id)
15148
+ @items = args[:items] if args.key?(:items)
15149
+ @kind = args[:kind] if args.key?(:kind)
15150
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
15151
+ @self_link = args[:self_link] if args.key?(:self_link)
15152
+ @warning = args[:warning] if args.key?(:warning)
15153
+ end
15154
+
15155
+ # [Output Only] Informational warning message.
15156
+ class Warning
15157
+ include Google::Apis::Core::Hashable
15158
+
15159
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
15160
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
15161
+ # Corresponds to the JSON property `code`
15162
+ # @return [String]
15163
+ attr_accessor :code
15164
+
15165
+ # [Output Only] Metadata about this warning in key: value format. For example:
15166
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
15167
+ # Corresponds to the JSON property `data`
15168
+ # @return [Array<Google::Apis::ComputeV1::SslPoliciesList::Warning::Datum>]
15169
+ attr_accessor :data
15170
+
15171
+ # [Output Only] A human-readable description of the warning code.
15172
+ # Corresponds to the JSON property `message`
15173
+ # @return [String]
15174
+ attr_accessor :message
15175
+
15176
+ def initialize(**args)
15177
+ update!(**args)
15178
+ end
15179
+
15180
+ # Update properties of this object
15181
+ def update!(**args)
15182
+ @code = args[:code] if args.key?(:code)
15183
+ @data = args[:data] if args.key?(:data)
15184
+ @message = args[:message] if args.key?(:message)
15185
+ end
15186
+
15187
+ #
15188
+ class Datum
15189
+ include Google::Apis::Core::Hashable
15190
+
15191
+ # [Output Only] A key that provides more detail on the warning being returned.
15192
+ # For example, for warnings where there are no results in a list request for a
15193
+ # particular zone, this key might be scope and the key value might be the zone
15194
+ # name. Other examples might be a key indicating a deprecated resource and a
15195
+ # suggested replacement, or a warning about invalid network settings (for
15196
+ # example, if an instance attempts to perform IP forwarding but is not enabled
15197
+ # for IP forwarding).
15198
+ # Corresponds to the JSON property `key`
15199
+ # @return [String]
15200
+ attr_accessor :key
15201
+
15202
+ # [Output Only] A warning data value corresponding to the key.
15203
+ # Corresponds to the JSON property `value`
15204
+ # @return [String]
15205
+ attr_accessor :value
15206
+
15207
+ def initialize(**args)
15208
+ update!(**args)
15209
+ end
15210
+
15211
+ # Update properties of this object
15212
+ def update!(**args)
15213
+ @key = args[:key] if args.key?(:key)
15214
+ @value = args[:value] if args.key?(:value)
15215
+ end
15216
+ end
15217
+ end
15218
+ end
15219
+
15220
+ #
15221
+ class SslPoliciesListAvailableFeaturesResponse
15222
+ include Google::Apis::Core::Hashable
15223
+
15224
+ #
15225
+ # Corresponds to the JSON property `features`
15226
+ # @return [Array<String>]
15227
+ attr_accessor :features
15228
+
15229
+ def initialize(**args)
15230
+ update!(**args)
15231
+ end
15232
+
15233
+ # Update properties of this object
15234
+ def update!(**args)
15235
+ @features = args[:features] if args.key?(:features)
15236
+ end
15237
+ end
15238
+
15239
+ # A SSL policy specifies the server-side support for SSL features. This can be
15240
+ # attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections
15241
+ # between clients and the HTTPS or SSL proxy load balancer. They do not affect
15242
+ # the connection between the load balancers and the backends.
15243
+ class SslPolicy
15244
+ include Google::Apis::Core::Hashable
15245
+
15246
+ # [Output Only] Creation timestamp in RFC3339 text format.
15247
+ # Corresponds to the JSON property `creationTimestamp`
15248
+ # @return [String]
15249
+ attr_accessor :creation_timestamp
15250
+
15251
+ # List of features enabled when the selected profile is CUSTOM. The
15252
+ # - method returns the set of features that can be specified in this list. This
15253
+ # field must be empty if the profile is not CUSTOM.
15254
+ # Corresponds to the JSON property `customFeatures`
15255
+ # @return [Array<String>]
15256
+ attr_accessor :custom_features
15257
+
15258
+ # An optional description of this resource. Provide this property when you
15259
+ # create the resource.
15260
+ # Corresponds to the JSON property `description`
15261
+ # @return [String]
15262
+ attr_accessor :description
15263
+
15264
+ # [Output Only] The list of features enabled in the SSL policy.
15265
+ # Corresponds to the JSON property `enabledFeatures`
15266
+ # @return [Array<String>]
15267
+ attr_accessor :enabled_features
15268
+
15269
+ # Fingerprint of this resource. A hash of the contents stored in this object.
15270
+ # This field is used in optimistic locking. This field will be ignored when
15271
+ # inserting a SslPolicy. An up-to-date fingerprint must be provided in order to
15272
+ # update the SslPolicy.
15273
+ # Corresponds to the JSON property `fingerprint`
15274
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
15275
+ # @return [String]
15276
+ attr_accessor :fingerprint
15277
+
15278
+ # [Output Only] The unique identifier for the resource. This identifier is
15279
+ # defined by the server.
15280
+ # Corresponds to the JSON property `id`
15281
+ # @return [Fixnum]
15282
+ attr_accessor :id
15283
+
15284
+ # [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
15285
+ # Corresponds to the JSON property `kind`
15286
+ # @return [String]
15287
+ attr_accessor :kind
15288
+
15289
+ # The minimum version of SSL protocol that can be used by the clients to
15290
+ # establish a connection with the load balancer. This can be one of TLS_1_0,
15291
+ # TLS_1_1, TLS_1_2, TLS_1_3.
15292
+ # Corresponds to the JSON property `minTlsVersion`
15293
+ # @return [String]
15294
+ attr_accessor :min_tls_version
15295
+
15296
+ # Name of the resource. The name must be 1-63 characters long, and comply with
15297
+ # RFC1035. Specifically, the name must be 1-63 characters long and match the
15298
+ # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
15299
+ # character must be a lowercase letter, and all following characters must be a
15300
+ # dash, lowercase letter, or digit, except the last character, which cannot be a
15301
+ # dash.
15302
+ # Corresponds to the JSON property `name`
15303
+ # @return [String]
15304
+ attr_accessor :name
15305
+
15306
+ # Profile specifies the set of SSL features that can be used by the load
15307
+ # balancer when negotiating SSL with clients. This can be one of COMPATIBLE,
15308
+ # MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to
15309
+ # enable must be specified in the customFeatures field.
15310
+ # Corresponds to the JSON property `profile`
15311
+ # @return [String]
15312
+ attr_accessor :profile
15313
+
15314
+ # [Output Only] Server-defined URL for the resource.
15315
+ # Corresponds to the JSON property `selfLink`
15316
+ # @return [String]
15317
+ attr_accessor :self_link
15318
+
15319
+ # [Output Only] If potential misconfigurations are detected for this SSL policy,
15320
+ # this field will be populated with warning messages.
15321
+ # Corresponds to the JSON property `warnings`
15322
+ # @return [Array<Google::Apis::ComputeV1::SslPolicy::Warning>]
15323
+ attr_accessor :warnings
15324
+
15325
+ def initialize(**args)
15326
+ update!(**args)
15327
+ end
15328
+
15329
+ # Update properties of this object
15330
+ def update!(**args)
15331
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
15332
+ @custom_features = args[:custom_features] if args.key?(:custom_features)
15333
+ @description = args[:description] if args.key?(:description)
15334
+ @enabled_features = args[:enabled_features] if args.key?(:enabled_features)
15335
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
15336
+ @id = args[:id] if args.key?(:id)
15337
+ @kind = args[:kind] if args.key?(:kind)
15338
+ @min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version)
15339
+ @name = args[:name] if args.key?(:name)
15340
+ @profile = args[:profile] if args.key?(:profile)
15341
+ @self_link = args[:self_link] if args.key?(:self_link)
15342
+ @warnings = args[:warnings] if args.key?(:warnings)
15343
+ end
15344
+
15345
+ #
15346
+ class Warning
15347
+ include Google::Apis::Core::Hashable
15348
+
15349
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
15350
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
15351
+ # Corresponds to the JSON property `code`
15352
+ # @return [String]
15353
+ attr_accessor :code
15354
+
15355
+ # [Output Only] Metadata about this warning in key: value format. For example:
15356
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
15357
+ # Corresponds to the JSON property `data`
15358
+ # @return [Array<Google::Apis::ComputeV1::SslPolicy::Warning::Datum>]
15359
+ attr_accessor :data
15360
+
15361
+ # [Output Only] A human-readable description of the warning code.
15362
+ # Corresponds to the JSON property `message`
15363
+ # @return [String]
15364
+ attr_accessor :message
15365
+
15366
+ def initialize(**args)
15367
+ update!(**args)
15368
+ end
15369
+
15370
+ # Update properties of this object
15371
+ def update!(**args)
15372
+ @code = args[:code] if args.key?(:code)
15373
+ @data = args[:data] if args.key?(:data)
15374
+ @message = args[:message] if args.key?(:message)
15375
+ end
15376
+
15377
+ #
15378
+ class Datum
15379
+ include Google::Apis::Core::Hashable
15380
+
15381
+ # [Output Only] A key that provides more detail on the warning being returned.
15382
+ # For example, for warnings where there are no results in a list request for a
15383
+ # particular zone, this key might be scope and the key value might be the zone
15384
+ # name. Other examples might be a key indicating a deprecated resource and a
15385
+ # suggested replacement, or a warning about invalid network settings (for
15386
+ # example, if an instance attempts to perform IP forwarding but is not enabled
15387
+ # for IP forwarding).
15388
+ # Corresponds to the JSON property `key`
15389
+ # @return [String]
15390
+ attr_accessor :key
15391
+
15392
+ # [Output Only] A warning data value corresponding to the key.
15393
+ # Corresponds to the JSON property `value`
15394
+ # @return [String]
15395
+ attr_accessor :value
15396
+
15397
+ def initialize(**args)
15398
+ update!(**args)
15399
+ end
15400
+
15401
+ # Update properties of this object
15402
+ def update!(**args)
15403
+ @key = args[:key] if args.key?(:key)
15404
+ @value = args[:value] if args.key?(:value)
15405
+ end
15406
+ end
15407
+ end
15408
+ end
15409
+
15410
+ #
15411
+ class SslPolicyReference
15412
+ include Google::Apis::Core::Hashable
15413
+
15414
+ # URL of the SSL policy resource. Set this to empty string to clear any existing
15415
+ # SSL policy associated with the target proxy resource.
15416
+ # Corresponds to the JSON property `sslPolicy`
15417
+ # @return [String]
15418
+ attr_accessor :ssl_policy
15419
+
15420
+ def initialize(**args)
15421
+ update!(**args)
15422
+ end
15423
+
15424
+ # Update properties of this object
15425
+ def update!(**args)
15426
+ @ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
15427
+ end
15428
+ end
15429
+
15430
+ # A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for
15431
+ # v1.subnetworks ==)
15432
+ class Subnetwork
15433
+ include Google::Apis::Core::Hashable
15434
+
15435
+ # [Output Only] Creation timestamp in RFC3339 text format.
15436
+ # Corresponds to the JSON property `creationTimestamp`
15437
+ # @return [String]
15438
+ attr_accessor :creation_timestamp
15439
+
15440
+ # An optional description of this resource. Provide this property when you
15441
+ # create the resource. This field can be set only at resource creation time.
15442
+ # Corresponds to the JSON property `description`
15443
+ # @return [String]
15444
+ attr_accessor :description
15445
+
15446
+ # Fingerprint of this resource. A hash of the contents stored in this object.
15447
+ # This field is used in optimistic locking. This field will be ignored when
15448
+ # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
15449
+ # update the Subnetwork.
15450
+ # Corresponds to the JSON property `fingerprint`
15451
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
15452
+ # @return [String]
15453
+ attr_accessor :fingerprint
15454
+
15455
+ # [Output Only] The gateway address for default routes to reach destination
15456
+ # addresses outside this subnetwork.
15457
+ # Corresponds to the JSON property `gatewayAddress`
14836
15458
  # @return [String]
14837
15459
  attr_accessor :gateway_address
14838
15460
 
@@ -15658,6 +16280,13 @@ module Google
15658
16280
  # @return [Array<String>]
15659
16281
  attr_accessor :ssl_certificates
15660
16282
 
16283
+ # URL of SslPolicy resource that will be associated with the TargetHttpsProxy
16284
+ # resource. If not set, the TargetHttpsProxy resource will not have any SSL
16285
+ # policy configured.
16286
+ # Corresponds to the JSON property `sslPolicy`
16287
+ # @return [String]
16288
+ attr_accessor :ssl_policy
16289
+
15661
16290
  # A fully-qualified or valid partial URL to the UrlMap resource that defines the
15662
16291
  # mapping from URL to the BackendService. For example, the following are all
15663
16292
  # valid URLs for specifying a URL map:
@@ -15681,6 +16310,7 @@ module Google
15681
16310
  @name = args[:name] if args.key?(:name)
15682
16311
  @self_link = args[:self_link] if args.key?(:self_link)
15683
16312
  @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
16313
+ @ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
15684
16314
  @url_map = args[:url_map] if args.key?(:url_map)
15685
16315
  end
15686
16316
  end
@@ -16916,6 +17546,13 @@ module Google
16916
17546
  # @return [Array<String>]
16917
17547
  attr_accessor :ssl_certificates
16918
17548
 
17549
+ # URL of SslPolicy resource that will be associated with the TargetSslProxy
17550
+ # resource. If not set, the TargetSslProxy resource will not have any SSL policy
17551
+ # configured.
17552
+ # Corresponds to the JSON property `sslPolicy`
17553
+ # @return [String]
17554
+ attr_accessor :ssl_policy
17555
+
16919
17556
  def initialize(**args)
16920
17557
  update!(**args)
16921
17558
  end
@@ -16931,6 +17568,7 @@ module Google
16931
17568
  @self_link = args[:self_link] if args.key?(:self_link)
16932
17569
  @service = args[:service] if args.key?(:service)
16933
17570
  @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
17571
+ @ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
16934
17572
  end
16935
17573
  end
16936
17574
 
@@ -17736,6 +18374,45 @@ module Google
17736
18374
  end
17737
18375
  end
17738
18376
 
18377
+ #
18378
+ class TestPermissionsRequest
18379
+ include Google::Apis::Core::Hashable
18380
+
18381
+ # The set of permissions to check for the 'resource'. Permissions with wildcards
18382
+ # (such as '*' or 'storage.*') are not allowed.
18383
+ # Corresponds to the JSON property `permissions`
18384
+ # @return [Array<String>]
18385
+ attr_accessor :permissions
18386
+
18387
+ def initialize(**args)
18388
+ update!(**args)
18389
+ end
18390
+
18391
+ # Update properties of this object
18392
+ def update!(**args)
18393
+ @permissions = args[:permissions] if args.key?(:permissions)
18394
+ end
18395
+ end
18396
+
18397
+ #
18398
+ class TestPermissionsResponse
18399
+ include Google::Apis::Core::Hashable
18400
+
18401
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
18402
+ # Corresponds to the JSON property `permissions`
18403
+ # @return [Array<String>]
18404
+ attr_accessor :permissions
18405
+
18406
+ def initialize(**args)
18407
+ update!(**args)
18408
+ end
18409
+
18410
+ # Update properties of this object
18411
+ def update!(**args)
18412
+ @permissions = args[:permissions] if args.key?(:permissions)
18413
+ end
18414
+ end
18415
+
17739
18416
  # A UrlMap resource. This resource defines the mapping from URL to the
17740
18417
  # BackendService resource, based on the "longest-match" of the URL's host and
17741
18418
  # path.