google-api-client 0.30.0 → 0.30.1

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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +8 -74
  5. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +8 -74
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +16 -0
  10. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  11. data/generated/google/apis/cloudidentity_v1/classes.rb +8 -74
  12. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  13. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +8 -74
  14. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  15. data/generated/google/apis/cloudsearch_v1/classes.rb +11 -0
  16. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  17. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  18. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +9 -6
  19. data/generated/google/apis/compute_alpha.rb +1 -1
  20. data/generated/google/apis/compute_alpha/classes.rb +255 -155
  21. data/generated/google/apis/compute_alpha/representations.rb +4 -3
  22. data/generated/google/apis/compute_alpha/service.rb +11 -4
  23. data/generated/google/apis/compute_beta.rb +1 -1
  24. data/generated/google/apis/compute_beta/classes.rb +2818 -235
  25. data/generated/google/apis/compute_beta/representations.rb +957 -0
  26. data/generated/google/apis/compute_beta/service.rb +2371 -475
  27. data/generated/google/apis/compute_v1.rb +1 -1
  28. data/generated/google/apis/compute_v1/classes.rb +239 -92
  29. data/generated/google/apis/compute_v1/representations.rb +19 -0
  30. data/generated/google/apis/compute_v1/service.rb +4 -2
  31. data/generated/google/apis/container_v1beta1.rb +1 -1
  32. data/generated/google/apis/container_v1beta1/classes.rb +24 -0
  33. data/generated/google/apis/container_v1beta1/representations.rb +3 -0
  34. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  35. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  36. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -0
  37. data/generated/google/apis/content_v2.rb +1 -1
  38. data/generated/google/apis/content_v2/classes.rb +1 -1
  39. data/generated/google/apis/content_v2_1.rb +1 -1
  40. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  41. data/generated/google/apis/dialogflow_v2.rb +1 -1
  42. data/generated/google/apis/dialogflow_v2/classes.rb +3 -4
  43. data/generated/google/apis/dlp_v2.rb +1 -1
  44. data/generated/google/apis/dlp_v2/classes.rb +44 -0
  45. data/generated/google/apis/dlp_v2/representations.rb +29 -0
  46. data/generated/google/apis/docs_v1.rb +1 -1
  47. data/generated/google/apis/docs_v1/classes.rb +0 -10
  48. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  49. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  50. data/generated/google/apis/healthcare_v1alpha2/classes.rb +7 -6
  51. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  52. data/generated/google/apis/healthcare_v1beta1/classes.rb +1 -1
  53. data/generated/google/apis/jobs_v2.rb +1 -1
  54. data/generated/google/apis/jobs_v2/classes.rb +2 -2
  55. data/generated/google/apis/jobs_v3.rb +1 -1
  56. data/generated/google/apis/jobs_v3/classes.rb +4 -3
  57. data/generated/google/apis/logging_v2.rb +1 -1
  58. data/generated/google/apis/logging_v2/classes.rb +4 -1
  59. data/generated/google/apis/ml_v1.rb +1 -1
  60. data/generated/google/apis/ml_v1/classes.rb +6 -0
  61. data/generated/google/apis/ml_v1/representations.rb +1 -0
  62. data/generated/google/apis/monitoring_v3.rb +1 -1
  63. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  64. data/generated/google/apis/redis_v1.rb +1 -1
  65. data/generated/google/apis/redis_v1/classes.rb +125 -0
  66. data/generated/google/apis/redis_v1/representations.rb +83 -0
  67. data/generated/google/apis/redis_v1/service.rb +78 -0
  68. data/generated/google/apis/redis_v1beta1.rb +1 -1
  69. data/generated/google/apis/redis_v1beta1/classes.rb +125 -0
  70. data/generated/google/apis/redis_v1beta1/representations.rb +83 -0
  71. data/generated/google/apis/redis_v1beta1/service.rb +78 -0
  72. data/generated/google/apis/securitycenter_v1.rb +1 -1
  73. data/generated/google/apis/securitycenter_v1/classes.rb +10 -76
  74. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  75. data/generated/google/apis/securitycenter_v1beta1/classes.rb +10 -76
  76. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  77. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -74
  78. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  79. data/generated/google/apis/servicenetworking_v1/classes.rb +8 -74
  80. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  81. data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -74
  82. data/generated/google/apis/serviceusage_v1.rb +1 -1
  83. data/generated/google/apis/serviceusage_v1/classes.rb +8 -74
  84. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  85. data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -74
  86. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  87. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -0
  88. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  89. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  90. data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -111
  91. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  92. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -74
  93. data/generated/google/apis/vision_v1.rb +1 -1
  94. data/generated/google/apis/vision_v1/classes.rb +36 -20
  95. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  96. data/generated/google/apis/vision_v1p1beta1/classes.rb +36 -20
  97. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  98. data/generated/google/apis/vision_v1p2beta1/classes.rb +36 -20
  99. data/lib/google/apis/version.rb +1 -1
  100. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/identity/
26
26
  module CloudidentityV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190503'
28
+ REVISION = '20190529'
29
29
 
30
30
  # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
31
31
  AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
@@ -291,43 +291,10 @@ module Google
291
291
 
292
292
  # The `Status` type defines a logical error model that is suitable for
293
293
  # different programming environments, including REST APIs and RPC APIs. It is
294
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
295
- # - Simple to use and understand for most users
296
- # - Flexible enough to meet unexpected needs
297
- # # Overview
298
- # The `Status` message contains three pieces of data: error code, error
299
- # message, and error details. The error code should be an enum value of
300
- # google.rpc.Code, but it may accept additional error codes if needed. The
301
- # error message should be a developer-facing English message that helps
302
- # developers *understand* and *resolve* the error. If a localized user-facing
303
- # error message is needed, put the localized message in the error details or
304
- # localize it in the client. The optional error details may contain arbitrary
305
- # information about the error. There is a predefined set of error detail types
306
- # in the package `google.rpc` that can be used for common error conditions.
307
- # # Language mapping
308
- # The `Status` message is the logical representation of the error model, but it
309
- # is not necessarily the actual wire format. When the `Status` message is
310
- # exposed in different client libraries and different wire protocols, it can be
311
- # mapped differently. For example, it will likely be mapped to some exceptions
312
- # in Java, but more likely mapped to some error codes in C.
313
- # # Other uses
314
- # The error model and the `Status` message can be used in a variety of
315
- # environments, either with or without APIs, to provide a
316
- # consistent developer experience across different environments.
317
- # Example uses of this error model include:
318
- # - Partial errors. If a service needs to return partial errors to the client,
319
- # it may embed the `Status` in the normal response to indicate the partial
320
- # errors.
321
- # - Workflow errors. A typical workflow has multiple steps. Each step may
322
- # have a `Status` message for error reporting.
323
- # - Batch operations. If a client uses batch request and batch response, the
324
- # `Status` message should be used directly inside batch response, one for
325
- # each error sub-response.
326
- # - Asynchronous operations. If an API call embeds asynchronous operation
327
- # results in its response, the status of those operations should be
328
- # represented directly using the `Status` message.
329
- # - Logging. If some API errors are stored in logs, the message `Status` could
330
- # be used directly after any stripping needed for security/privacy reasons.
294
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
295
+ # three pieces of data: error code, error message, and error details.
296
+ # You can find out more about this error model and how to work with it in the
297
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
331
298
  # Corresponds to the JSON property `error`
332
299
  # @return [Google::Apis::CloudidentityV1beta1::Status]
333
300
  attr_accessor :error
@@ -401,43 +368,10 @@ module Google
401
368
 
402
369
  # The `Status` type defines a logical error model that is suitable for
403
370
  # different programming environments, including REST APIs and RPC APIs. It is
404
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
405
- # - Simple to use and understand for most users
406
- # - Flexible enough to meet unexpected needs
407
- # # Overview
408
- # The `Status` message contains three pieces of data: error code, error
409
- # message, and error details. The error code should be an enum value of
410
- # google.rpc.Code, but it may accept additional error codes if needed. The
411
- # error message should be a developer-facing English message that helps
412
- # developers *understand* and *resolve* the error. If a localized user-facing
413
- # error message is needed, put the localized message in the error details or
414
- # localize it in the client. The optional error details may contain arbitrary
415
- # information about the error. There is a predefined set of error detail types
416
- # in the package `google.rpc` that can be used for common error conditions.
417
- # # Language mapping
418
- # The `Status` message is the logical representation of the error model, but it
419
- # is not necessarily the actual wire format. When the `Status` message is
420
- # exposed in different client libraries and different wire protocols, it can be
421
- # mapped differently. For example, it will likely be mapped to some exceptions
422
- # in Java, but more likely mapped to some error codes in C.
423
- # # Other uses
424
- # The error model and the `Status` message can be used in a variety of
425
- # environments, either with or without APIs, to provide a
426
- # consistent developer experience across different environments.
427
- # Example uses of this error model include:
428
- # - Partial errors. If a service needs to return partial errors to the client,
429
- # it may embed the `Status` in the normal response to indicate the partial
430
- # errors.
431
- # - Workflow errors. A typical workflow has multiple steps. Each step may
432
- # have a `Status` message for error reporting.
433
- # - Batch operations. If a client uses batch request and batch response, the
434
- # `Status` message should be used directly inside batch response, one for
435
- # each error sub-response.
436
- # - Asynchronous operations. If an API call embeds asynchronous operation
437
- # results in its response, the status of those operations should be
438
- # represented directly using the `Status` message.
439
- # - Logging. If some API errors are stored in logs, the message `Status` could
440
- # be used directly after any stripping needed for security/privacy reasons.
371
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
372
+ # three pieces of data: error code, error message, and error details.
373
+ # You can find out more about this error model and how to work with it in the
374
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
441
375
  class Status
442
376
  include Google::Apis::Core::Hashable
443
377
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://gsuite.google.com/products/cloud-search/
27
27
  module CloudsearchV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190503'
29
+ REVISION = '20190522'
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'
@@ -2927,6 +2927,16 @@ module Google
2927
2927
  attr_accessor :is_sortable
2928
2928
  alias_method :is_sortable?, :is_sortable
2929
2929
 
2930
+ # Indicates that users can perform wildcard search for this
2931
+ # property. Only supported for Text properties. IsReturnable must be true to
2932
+ # set this option. In a given datasource maximum of 5 properties can be
2933
+ # marked as is_wildcard_searchable.
2934
+ # Note: This is an alpha feature and is enabled for whitelisted users only.
2935
+ # Corresponds to the JSON property `isWildcardSearchable`
2936
+ # @return [Boolean]
2937
+ attr_accessor :is_wildcard_searchable
2938
+ alias_method :is_wildcard_searchable?, :is_wildcard_searchable
2939
+
2930
2940
  # The name of the property. Item indexing requests sent to the Indexing API
2931
2941
  # should set the property name
2932
2942
  # equal to this value. For example, if name is *subject_line*, then indexing
@@ -2974,6 +2984,7 @@ module Google
2974
2984
  @is_repeatable = args[:is_repeatable] if args.key?(:is_repeatable)
2975
2985
  @is_returnable = args[:is_returnable] if args.key?(:is_returnable)
2976
2986
  @is_sortable = args[:is_sortable] if args.key?(:is_sortable)
2987
+ @is_wildcard_searchable = args[:is_wildcard_searchable] if args.key?(:is_wildcard_searchable)
2977
2988
  @name = args[:name] if args.key?(:name)
2978
2989
  @object_property_options = args[:object_property_options] if args.key?(:object_property_options)
2979
2990
  @text_property_options = args[:text_property_options] if args.key?(:text_property_options)
@@ -1696,6 +1696,7 @@ module Google
1696
1696
  property :is_repeatable, as: 'isRepeatable'
1697
1697
  property :is_returnable, as: 'isReturnable'
1698
1698
  property :is_sortable, as: 'isSortable'
1699
+ property :is_wildcard_searchable, as: 'isWildcardSearchable'
1699
1700
  property :name, as: 'name'
1700
1701
  property :object_property_options, as: 'objectPropertyOptions', class: Google::Apis::CloudsearchV1::ObjectPropertyOptions, decorator: Google::Apis::CloudsearchV1::ObjectPropertyOptions::Representation
1701
1702
 
@@ -30,7 +30,7 @@ module Google
30
30
  # @see https://conversationai.github.io/
31
31
  module CommentanalyzerV1alpha1
32
32
  VERSION = 'V1alpha1'
33
- REVISION = '20190414'
33
+ REVISION = '20190526'
34
34
 
35
35
  # View your email address
36
36
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
@@ -139,16 +139,19 @@ module Google
139
139
  # @return [String]
140
140
  attr_accessor :client_token
141
141
 
142
- # Contains the language as detected from the text content. If no language
143
- # was specified in the request, the first (the most likely) language is used
144
- # to select an appropriate model. Sorted in order of likelihood.
142
+ # Contains the languages detected from the text content, sorted in order of
143
+ # likelihood.
145
144
  # Corresponds to the JSON property `detectedLanguages`
146
145
  # @return [Array<String>]
147
146
  attr_accessor :detected_languages
148
147
 
149
- # The language(s) requested by the client, as specified in the request. If
150
- # the request did not specify any language, this will be empty and the
151
- # detected_languages field will be populated.
148
+ # The language(s) used by CommentAnalyzer service to choose which Model to
149
+ # use when analyzing the comment. Might better be called
150
+ # "effective_languages". The logic used to make the choice is as follows:
151
+ # if Request.languages.empty()
152
+ # effective_languages = detected_languages
153
+ # else
154
+ # effective_languages = Request.languages
152
155
  # Corresponds to the JSON property `languages`
153
156
  # @return [Array<String>]
154
157
  attr_accessor :languages
@@ -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 = '20190416'
28
+ REVISION = '20190528'
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'
@@ -4964,14 +4964,14 @@ module Google
4964
4964
  attr_accessor :storage_type
4965
4965
 
4966
4966
  # URL of the disk type resource describing which disk type to use to create the
4967
- # disk. Provide this when creating the disk. For example: project/zones/zone/
4968
- # diskTypes/pd-standard or pd-ssd
4967
+ # disk. Provide this when creating the disk. For example: projects/project/zones/
4968
+ # zone/diskTypes/pd-standard or pd-ssd
4969
4969
  # Corresponds to the JSON property `type`
4970
4970
  # @return [String]
4971
4971
  attr_accessor :type
4972
4972
 
4973
4973
  # [Output Only] Links to the users of the disk (attached instances) in form:
4974
- # project/zones/zone/instances/instance
4974
+ # projects/project/zones/zone/instances/instance
4975
4975
  # Corresponds to the JSON property `users`
4976
4976
  # @return [Array<String>]
4977
4977
  attr_accessor :users
@@ -9714,6 +9714,18 @@ module Google
9714
9714
  # @return [Google::Apis::ComputeAlpha::HttpRouteAction]
9715
9715
  attr_accessor :route_action
9716
9716
 
9717
+ # The full or partial URL of the backend service resource to which traffic is
9718
+ # directed if this rule is matched. If routeAction is additionally specified,
9719
+ # advanced routing actions like URL Rewrites, etc. take effect prior to sending
9720
+ # the request to the backend. However, if service is specified, routeAction
9721
+ # cannot contain any weightedBackendService s. Conversely, if routeAction
9722
+ # specifies any weightedBackendServices, service must not be specified.
9723
+ # Only one of urlRedirect, service or routeAction.weightedBackendService must be
9724
+ # set.
9725
+ # Corresponds to the JSON property `service`
9726
+ # @return [String]
9727
+ attr_accessor :service
9728
+
9717
9729
  # Specifies settings for an HTTP redirect.
9718
9730
  # Corresponds to the JSON property `urlRedirect`
9719
9731
  # @return [Google::Apis::ComputeAlpha::HttpRedirectAction]
@@ -9728,6 +9740,7 @@ module Google
9728
9740
  @header_action = args[:header_action] if args.key?(:header_action)
9729
9741
  @match_rules = args[:match_rules] if args.key?(:match_rules)
9730
9742
  @route_action = args[:route_action] if args.key?(:route_action)
9743
+ @service = args[:service] if args.key?(:service)
9731
9744
  @url_redirect = args[:url_redirect] if args.key?(:url_redirect)
9732
9745
  end
9733
9746
  end
@@ -10301,8 +10314,8 @@ module Google
10301
10314
  # @return [String]
10302
10315
  attr_accessor :container_type
10303
10316
 
10304
- # An optional SHA1 checksum of the disk image before unpackaging provided by the
10305
- # client when the disk image is created.
10317
+ # [Deprecated] This field is deprecated. An optional SHA1 checksum of the disk
10318
+ # image before unpackaging provided by the client when the disk image is created.
10306
10319
  # Corresponds to the JSON property `sha1Checksum`
10307
10320
  # @return [String]
10308
10321
  attr_accessor :sha1_checksum
@@ -13965,8 +13978,11 @@ module Google
13965
13978
  # @return [Array<String>]
13966
13979
  attr_accessor :interconnect_attachments
13967
13980
 
13968
- # Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "
13969
- # DEDICATED"
13981
+ # Type of interconnect, which can take one of the following values:
13982
+ # - PARTNER: A partner-managed interconnection shared between customers though a
13983
+ # partner.
13984
+ # - DEDICATED: A dedicated physical interconnection with the customer. Note that
13985
+ # a value IT_PRIVATE has been deprecated in favor of DEDICATED.
13970
13986
  # Corresponds to the JSON property `interconnectType`
13971
13987
  # @return [String]
13972
13988
  attr_accessor :interconnect_type
@@ -13997,8 +14013,11 @@ module Google
13997
14013
  # @return [Hash<String,String>]
13998
14014
  attr_accessor :labels
13999
14015
 
14000
- # Type of link requested. This field indicates speed of each of the links in the
14001
- # bundle, not the entire bundle.
14016
+ # Type of link requested, which can take one of the following values:
14017
+ # - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
14018
+ # - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this
14019
+ # field indicates the speed of each of the links in the bundle, not the speed of
14020
+ # the entire bundle.
14002
14021
  # Corresponds to the JSON property `linkType`
14003
14022
  # @return [String]
14004
14023
  attr_accessor :link_type
@@ -14027,8 +14046,14 @@ module Google
14027
14046
  # @return [String]
14028
14047
  attr_accessor :noc_contact_email
14029
14048
 
14030
- # [Output Only] The current status of whether or not this Interconnect is
14031
- # functional.
14049
+ # [Output Only] The current status of this Interconnect's functionality, which
14050
+ # can take one of the following values:
14051
+ # - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use.
14052
+ # Attachments may be provisioned on this Interconnect.
14053
+ # - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No
14054
+ # attachments may be provisioned on this Interconnect.
14055
+ # - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal
14056
+ # maintenance. No attachments may be provisioned or updated on this Interconnect.
14032
14057
  # Corresponds to the JSON property `operationalStatus`
14033
14058
  # @return [String]
14034
14059
  attr_accessor :operational_status
@@ -14061,8 +14086,14 @@ module Google
14061
14086
  # @return [String]
14062
14087
  attr_accessor :self_link_with_id
14063
14088
 
14064
- # [Output Only] The current state of whether or not this Interconnect is
14065
- # functional.
14089
+ # [Output Only] The current state of Interconnect functionality, which can take
14090
+ # one of the following values:
14091
+ # - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments
14092
+ # may be provisioned on this Interconnect.
14093
+ # - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may
14094
+ # be provisioned on this Interconnect.
14095
+ # - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No
14096
+ # attachments may be provisioned or updated on this Interconnect.
14066
14097
  # Corresponds to the JSON property `state`
14067
14098
  # @return [String]
14068
14099
  attr_accessor :state
@@ -14114,9 +14145,21 @@ module Google
14114
14145
  attr_accessor :admin_enabled
14115
14146
  alias_method :admin_enabled?, :admin_enabled
14116
14147
 
14117
- # Provisioned bandwidth capacity for the interconnectAttachment. Can be set by
14118
- # the partner to update the customer's provisioned bandwidth. Output only for
14119
- # PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED.
14148
+ # Provisioned bandwidth capacity for the interconnect attachment. For
14149
+ # attachments of type DEDICATED, the user can set the bandwidth. For attachments
14150
+ # of type PARTNER, the Google Partner that is operating the interconnect must
14151
+ # set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER
14152
+ # and DEDICATED, and can take one of the following values:
14153
+ # - BPS_50M: 50 Mbit/s
14154
+ # - BPS_100M: 100 Mbit/s
14155
+ # - BPS_200M: 200 Mbit/s
14156
+ # - BPS_300M: 300 Mbit/s
14157
+ # - BPS_400M: 400 Mbit/s
14158
+ # - BPS_500M: 500 Mbit/s
14159
+ # - BPS_1G: 1 Gbit/s
14160
+ # - BPS_2G: 2 Gbit/s
14161
+ # - BPS_5G: 5 Gbit/s
14162
+ # - BPS_10G: 10 Gbit/s
14120
14163
  # Corresponds to the JSON property `bandwidth`
14121
14164
  # @return [String]
14122
14165
  attr_accessor :bandwidth
@@ -14155,11 +14198,14 @@ module Google
14155
14198
  attr_accessor :description
14156
14199
 
14157
14200
  # Desired availability domain for the attachment. Only available for type
14158
- # PARTNER, at creation time. For improved reliability, customers should
14159
- # configure a pair of attachments with one per availability domain. The selected
14160
- # availability domain will be provided to the Partner via the pairing key so
14161
- # that the provisioned circuit will lie in the specified domain. If not
14162
- # specified, the value will default to AVAILABILITY_DOMAIN_ANY.
14201
+ # PARTNER, at creation time, and can take one of the following values:
14202
+ # - AVAILABILITY_DOMAIN_ANY
14203
+ # - AVAILABILITY_DOMAIN_1
14204
+ # - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a
14205
+ # pair of attachments, one per availability domain. The selected availability
14206
+ # domain will be provided to the Partner via the pairing key, so that the
14207
+ # provisioned circuit will lie in the specified domain. If not specified, the
14208
+ # value will default to AVAILABILITY_DOMAIN_ANY.
14163
14209
  # Corresponds to the JSON property `edgeAvailabilityDomain`
14164
14210
  # @return [String]
14165
14211
  attr_accessor :edge_availability_domain
@@ -14219,7 +14265,10 @@ module Google
14219
14265
  attr_accessor :name
14220
14266
 
14221
14267
  # [Output Only] The current status of whether or not this interconnect
14222
- # attachment is functional.
14268
+ # attachment is functional, which can take one of the following values:
14269
+ # - OS_ACTIVE: The attachment has been turned up and is ready to use.
14270
+ # - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is
14271
+ # not complete.
14223
14272
  # Corresponds to the JSON property `operationalStatus`
14224
14273
  # @return [String]
14225
14274
  attr_accessor :operational_status
@@ -14232,9 +14281,9 @@ module Google
14232
14281
  # @return [String]
14233
14282
  attr_accessor :pairing_key
14234
14283
 
14235
- # Optional BGP ASN for the router that should be supplied by a layer 3 Partner
14236
- # if they configured BGP on behalf of the customer. Output only for PARTNER type,
14237
- # input only for PARTNER_PROVIDER, not available for DEDICATED.
14284
+ # Optional BGP ASN for the router supplied by a Layer 3 Partner if they
14285
+ # configured BGP on behalf of the customer. Output only for PARTNER type, input
14286
+ # only for PARTNER_PROVIDER, not available for DEDICATED.
14238
14287
  # Corresponds to the JSON property `partnerAsn`
14239
14288
  # @return [Fixnum]
14240
14289
  attr_accessor :partner_asn
@@ -14277,12 +14326,35 @@ module Google
14277
14326
  # @return [String]
14278
14327
  attr_accessor :self_link_with_id
14279
14328
 
14280
- # [Output Only] The current state of this attachment's functionality.
14329
+ # [Output Only] The current state of this attachment's functionality. Enum
14330
+ # values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and
14331
+ # PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,
14332
+ # PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and
14333
+ # PARTNER_PROVIDER interconnect attachments. This state can take one of the
14334
+ # following values:
14335
+ # - ACTIVE: The attachment has been turned up and is ready to use.
14336
+ # - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not
14337
+ # complete.
14338
+ # - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been
14339
+ # configured on the Partner side.
14340
+ # - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of
14341
+ # provisioning after a PARTNER_PROVIDER attachment was created that references
14342
+ # it.
14343
+ # - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting
14344
+ # for a customer to activate it.
14345
+ # - DEFUNCT: The attachment was deleted externally and is no longer functional.
14346
+ # This could be because the associated Interconnect was removed, or because the
14347
+ # other side of a Partner attachment was deleted.
14281
14348
  # Corresponds to the JSON property `state`
14282
14349
  # @return [String]
14283
14350
  attr_accessor :state
14284
14351
 
14285
- #
14352
+ # The type of interconnect attachment this is, which can take one of the
14353
+ # following values:
14354
+ # - DEDICATED: an attachment to a Dedicated Interconnect.
14355
+ # - PARTNER: an attachment to a Partner Interconnect, created by the customer.
14356
+ # - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the
14357
+ # partner.
14286
14358
  # Corresponds to the JSON property `type`
14287
14359
  # @return [String]
14288
14360
  attr_accessor :type
@@ -14586,7 +14658,7 @@ module Google
14586
14658
  attr_accessor :partner_name
14587
14659
 
14588
14660
  # URL of the Partner?s portal for this Attachment. Partners may customise this
14589
- # to be a deep-link to the specific resource on the Partner portal. This value
14661
+ # to be a deep link to the specific resource on the Partner portal. This value
14590
14662
  # may be validated to match approved Partner values.
14591
14663
  # Corresponds to the JSON property `portalUrl`
14592
14664
  # @return [String]
@@ -14824,7 +14896,10 @@ module Google
14824
14896
  # @return [String]
14825
14897
  attr_accessor :neighbor_system_id
14826
14898
 
14827
- #
14899
+ # The state of a LACP link, which can take one of the following values:
14900
+ # - ACTIVE: The link is configured and active within the bundle.
14901
+ # - DETACHED: The link is not configured within the bundle. This means that the
14902
+ # rest of the object should be empty.
14828
14903
  # Corresponds to the JSON property `state`
14829
14904
  # @return [String]
14830
14905
  attr_accessor :state
@@ -15070,7 +15145,13 @@ module Google
15070
15145
  # @return [String]
15071
15146
  attr_accessor :city
15072
15147
 
15073
- # [Output Only] Continent for this location.
15148
+ # [Output Only] Continent for this location, which can take one of the following
15149
+ # values:
15150
+ # - AFRICA
15151
+ # - ASIA_PAC
15152
+ # - EUROPE
15153
+ # - NORTH_AMERICA
15154
+ # - SOUTH_AMERICA
15074
15155
  # Corresponds to the JSON property `continent`
15075
15156
  # @return [String]
15076
15157
  attr_accessor :continent
@@ -15136,9 +15217,12 @@ module Google
15136
15217
  # @return [String]
15137
15218
  attr_accessor :self_link_with_id
15138
15219
 
15139
- # [Output Only] The status of this InterconnectLocation. If the status is
15140
- # AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation.
15141
- # Otherwise, no new Interconnects may be provisioned.
15220
+ # [Output Only] The status of this InterconnectLocation, which can take one of
15221
+ # the following values:
15222
+ # - CLOSED: The InterconnectLocation is closed and is unavailable for
15223
+ # provisioning new Interconnects.
15224
+ # - AVAILABLE: The InterconnectLocation is available for provisioning new
15225
+ # Interconnects.
15142
15226
  # Corresponds to the JSON property `status`
15143
15227
  # @return [String]
15144
15228
  attr_accessor :status
@@ -15339,8 +15423,13 @@ module Google
15339
15423
  # @return [Fixnum]
15340
15424
  attr_accessor :end_time
15341
15425
 
15342
- # Form this outage is expected to take. Note that the "IT_" versions of this
15343
- # enum have been deprecated in favor of the unprefixed values.
15426
+ # Form this outage is expected to take, which can take one of the following
15427
+ # values:
15428
+ # - OUTAGE: The Interconnect may be completely out of service for some or all of
15429
+ # the specified window.
15430
+ # - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should
15431
+ # remain up, but with reduced bandwidth. Note that the versions of this enum
15432
+ # prefixed with "IT_" have been deprecated in favor of the unprefixed values.
15344
15433
  # Corresponds to the JSON property `issueType`
15345
15434
  # @return [String]
15346
15435
  attr_accessor :issue_type
@@ -15350,8 +15439,10 @@ module Google
15350
15439
  # @return [String]
15351
15440
  attr_accessor :name
15352
15441
 
15353
- # The party that generated this notification. Note that "NSRC_GOOGLE" has been
15354
- # deprecated in favor of "GOOGLE"
15442
+ # The party that generated this notification, which can take the following value:
15443
+ #
15444
+ # - GOOGLE: this notification as generated by Google. Note that the value of
15445
+ # NSRC_GOOGLE has been deprecated in favor of GOOGLE.
15355
15446
  # Corresponds to the JSON property `source`
15356
15447
  # @return [String]
15357
15448
  attr_accessor :source
@@ -15361,8 +15452,12 @@ module Google
15361
15452
  # @return [Fixnum]
15362
15453
  attr_accessor :start_time
15363
15454
 
15364
- # State of this notification. Note that the "NS_" versions of this enum have
15365
- # been deprecated in favor of the unprefixed values.
15455
+ # State of this notification, which can take one of the following values:
15456
+ # - ACTIVE: This outage notification is active. The event could be in the past,
15457
+ # present, or future. See start_time and end_time for scheduling.
15458
+ # - CANCELLED: The outage associated with this notification was cancelled before
15459
+ # the outage was due to start. Note that the versions of this enum prefixed with
15460
+ # "NS_" have been deprecated in favor of the unprefixed values.
15366
15461
  # Corresponds to the JSON property `state`
15367
15462
  # @return [String]
15368
15463
  attr_accessor :state
@@ -16272,10 +16367,6 @@ module Google
16272
16367
 
16273
16368
  # Whether Gin logging should happen in a fail-closed manner at the caller. This
16274
16369
  # is relevant only in the LocalIAM implementation, for now.
16275
- # NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
16276
- # work is being done to satisfy the requirements of go/345. Currently, setting
16277
- # LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
16278
- # active work being done to support it (b/115874152).
16279
16370
  # Corresponds to the JSON property `logMode`
16280
16371
  # @return [String]
16281
16372
  attr_accessor :log_mode
@@ -16358,12 +16449,13 @@ module Google
16358
16449
  # @return [Google::Apis::ComputeAlpha::SourceInstanceProperties]
16359
16450
  attr_accessor :source_instance_properties
16360
16451
 
16361
- # [Output Only] The status of disk creation.
16452
+ # [Output Only] The status of the machine image. One of the following values:
16453
+ # INVALID, CREATING, READY, DELETING, and UPLOADING.
16362
16454
  # Corresponds to the JSON property `status`
16363
16455
  # @return [String]
16364
16456
  attr_accessor :status
16365
16457
 
16366
- # GCS bucket storage location of the snapshot (regional or multi-regional).
16458
+ # GCS bucket storage location of the machine image (regional or multi-regional).
16367
16459
  # Corresponds to the JSON property `storageLocations`
16368
16460
  # @return [Array<String>]
16369
16461
  attr_accessor :storage_locations
@@ -17561,6 +17653,12 @@ module Google
17561
17653
  # @return [String]
17562
17654
  attr_accessor :load_balancer_vm_encryption
17563
17655
 
17656
+ # Maximum Transmission Unit in bytes. The minimum value for this field is 1460
17657
+ # and the maximum value is 1600 bytes.
17658
+ # Corresponds to the JSON property `mtu`
17659
+ # @return [Fixnum]
17660
+ attr_accessor :mtu
17661
+
17564
17662
  # The multicast mode for this network. If set to ZONAL, multicast is allowed
17565
17663
  # within a zone. If set to DISABLED, multicast is disabled for this network. The
17566
17664
  # default is DISABLED.
@@ -17621,6 +17719,7 @@ module Google
17621
17719
  @id = args[:id] if args.key?(:id)
17622
17720
  @kind = args[:kind] if args.key?(:kind)
17623
17721
  @load_balancer_vm_encryption = args[:load_balancer_vm_encryption] if args.key?(:load_balancer_vm_encryption)
17722
+ @mtu = args[:mtu] if args.key?(:mtu)
17624
17723
  @multicast_mode = args[:multicast_mode] if args.key?(:multicast_mode)
17625
17724
  @name = args[:name] if args.key?(:name)
17626
17725
  @peerings = args[:peerings] if args.key?(:peerings)
@@ -18695,6 +18794,11 @@ module Google
18695
18794
  # @return [String]
18696
18795
  attr_accessor :network
18697
18796
 
18797
+ # Maximum Transmission Unit in bytes.
18798
+ # Corresponds to the JSON property `peerMtu`
18799
+ # @return [Fixnum]
18800
+ attr_accessor :peer_mtu
18801
+
18698
18802
  # [Output Only] State for the peering.
18699
18803
  # Corresponds to the JSON property `state`
18700
18804
  # @return [String]
@@ -18720,6 +18824,7 @@ module Google
18720
18824
  @import_subnet_routes_with_public_ip = args[:import_subnet_routes_with_public_ip] if args.key?(:import_subnet_routes_with_public_ip)
18721
18825
  @name = args[:name] if args.key?(:name)
18722
18826
  @network = args[:network] if args.key?(:network)
18827
+ @peer_mtu = args[:peer_mtu] if args.key?(:peer_mtu)
18723
18828
  @state = args[:state] if args.key?(:state)
18724
18829
  @state_details = args[:state_details] if args.key?(:state_details)
18725
18830
  end
@@ -23969,7 +24074,9 @@ module Google
23969
24074
  class ReservationAffinity
23970
24075
  include Google::Apis::Core::Hashable
23971
24076
 
23972
- #
24077
+ # Specifies the type of reservation from which this instance can consume
24078
+ # resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION.
24079
+ # See Consuming reserved instances for examples.
23973
24080
  # Corresponds to the JSON property `consumeReservationType`
23974
24081
  # @return [String]
23975
24082
  attr_accessor :consume_reservation_type
@@ -25518,9 +25625,9 @@ module Google
25518
25625
  # @return [Google::Apis::ComputeAlpha::RouterBgp]
25519
25626
  attr_accessor :bgp
25520
25627
 
25521
- # BGP information that needs to be configured into the routing stack to
25522
- # establish the BGP peering. It must specify peer ASN and either interface name,
25523
- # IP, or peer IP. Please refer to RFC4273.
25628
+ # BGP information that must be configured into the routing stack to establish
25629
+ # BGP peering. This information must specify the peer ASN and either the
25630
+ # interface name, IP address, or peer IP address. Please refer to RFC4273.
25524
25631
  # Corresponds to the JSON property `bgpPeers`
25525
25632
  # @return [Array<Google::Apis::ComputeAlpha::RouterBgpPeer>]
25526
25633
  attr_accessor :bgp_peers
@@ -25542,8 +25649,9 @@ module Google
25542
25649
  # @return [Fixnum]
25543
25650
  attr_accessor :id
25544
25651
 
25545
- # Router interfaces. Each interface requires either one linked resource (e.g.
25546
- # linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
25652
+ # Router interfaces. Each interface requires either one linked resource, (for
25653
+ # example, linkedVpnTunnel), or IP address and IP address range (for example,
25654
+ # ipRange), or both.
25547
25655
  # Corresponds to the JSON property `interfaces`
25548
25656
  # @return [Array<Google::Apis::ComputeAlpha::RouterInterface>]
25549
25657
  attr_accessor :interfaces
@@ -25563,7 +25671,7 @@ module Google
25563
25671
  # @return [String]
25564
25672
  attr_accessor :name
25565
25673
 
25566
- # A list of Nat services created in this router.
25674
+ # A list of NAT services created in this router.
25567
25675
  # Corresponds to the JSON property `nats`
25568
25676
  # @return [Array<Google::Apis::ComputeAlpha::RouterNat>]
25569
25677
  attr_accessor :nats
@@ -25758,7 +25866,8 @@ module Google
25758
25866
  class RouterBgp
25759
25867
  include Google::Apis::Core::Hashable
25760
25868
 
25761
- # User-specified flag to indicate which mode to use for advertisement.
25869
+ # User-specified flag to indicate which mode to use for advertisement. The
25870
+ # options are DEFAULT or CUSTOM.
25762
25871
  # Corresponds to the JSON property `advertiseMode`
25763
25872
  # @return [String]
25764
25873
  attr_accessor :advertise_mode
@@ -25820,27 +25929,31 @@ module Google
25820
25929
  # @return [String]
25821
25930
  attr_accessor :advertise_mode
25822
25931
 
25823
- # User-specified list of prefix groups to advertise in custom mode. This field
25824
- # can only be populated if advertise_mode is CUSTOM and overrides the list
25825
- # defined for the router (in Bgp message). These groups will be advertised in
25826
- # addition to any specified prefixes. Leave this field blank to advertise no
25827
- # custom groups.
25932
+ # User-specified list of prefix groups to advertise in custom mode, which can
25933
+ # take one of the following options:
25934
+ # - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets.
25935
+ # - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets.
25936
+ # - ALL_PEER_VPC_SUBNETS: Advertises peer subnets of the router's VPC network.
25937
+ # Note that this field can only be populated if advertise_mode is CUSTOM and
25938
+ # overrides the list defined for the router (in the "bgp" message). These groups
25939
+ # are advertised in addition to any specified prefixes. Leave this field blank
25940
+ # to advertise no custom groups.
25828
25941
  # Corresponds to the JSON property `advertisedGroups`
25829
25942
  # @return [Array<String>]
25830
25943
  attr_accessor :advertised_groups
25831
25944
 
25832
25945
  # User-specified list of individual IP ranges to advertise in custom mode. This
25833
25946
  # field can only be populated if advertise_mode is CUSTOM and overrides the list
25834
- # defined for the router (in Bgp message). These IP ranges will be advertised in
25835
- # addition to any specified groups. Leave this field blank to advertise no
25947
+ # defined for the router (in the "bgp" message). These IP ranges are advertised
25948
+ # in addition to any specified groups. Leave this field blank to advertise no
25836
25949
  # custom IP ranges.
25837
25950
  # Corresponds to the JSON property `advertisedIpRanges`
25838
25951
  # @return [Array<Google::Apis::ComputeAlpha::RouterAdvertisedIpRange>]
25839
25952
  attr_accessor :advertised_ip_ranges
25840
25953
 
25841
- # The priority of routes advertised to this BGP peer. In the case where there is
25842
- # more than one matching route of maximum length, the routes with lowest
25843
- # priority value win.
25954
+ # The priority of routes advertised to this BGP peer. Where there is more than
25955
+ # one matching route of maximum length, the routes with the lowest priority
25956
+ # value win.
25844
25957
  # Corresponds to the JSON property `advertisedRoutePriority`
25845
25958
  # @return [Fixnum]
25846
25959
  attr_accessor :advertised_route_priority
@@ -25870,11 +25983,12 @@ module Google
25870
25983
  attr_accessor :ip_address
25871
25984
 
25872
25985
  # [Output Only] The resource that configures and manages this BGP peer.
25873
- # MANAGED_BY_USER is the default value and can be managed by you or other users;
25874
- # MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud
25986
+ # - MANAGED_BY_USER is the default value and can be managed by you or other
25987
+ # users
25988
+ # - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud
25875
25989
  # Interconnect, specifically by an InterconnectAttachment of type PARTNER.
25876
- # Google will automatically create, update, and delete this type of BGP peer
25877
- # when the PARTNER InterconnectAttachment is created, updated, or deleted.
25990
+ # Google automatically creates, updates, and deletes this type of BGP peer when
25991
+ # the PARTNER InterconnectAttachment is created, updated, or deleted.
25878
25992
  # Corresponds to the JSON property `managementType`
25879
25993
  # @return [String]
25880
25994
  attr_accessor :management_type
@@ -25885,13 +25999,14 @@ module Google
25885
25999
  # @return [String]
25886
26000
  attr_accessor :name
25887
26001
 
25888
- # Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be
25889
- # different for every tunnel.
26002
+ # Peer BGP Autonomous System Number (ASN). Each BGP interface may use a
26003
+ # different value.
25890
26004
  # Corresponds to the JSON property `peerAsn`
25891
26005
  # @return [Fixnum]
25892
26006
  attr_accessor :peer_asn
25893
26007
 
25894
- # IP address of the BGP interface outside Google cloud. Only IPv4 is supported.
26008
+ # IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is
26009
+ # supported.
25895
26010
  # Corresponds to the JSON property `peerIpAddress`
25896
26011
  # @return [String]
25897
26012
  attr_accessor :peer_ip_address
@@ -25973,6 +26088,15 @@ module Google
25973
26088
  # @return [String]
25974
26089
  attr_accessor :packet_mode
25975
26090
 
26091
+ # The BFD session initialization mode for this BGP peer. If set to ACTIVE, the
26092
+ # Cloud Router will initiate the BFD session for this BGP peer. If set to
26093
+ # PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
26094
+ # session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
26095
+ # peer. The default is PASSIVE.
26096
+ # Corresponds to the JSON property `sessionInitializationMode`
26097
+ # @return [String]
26098
+ attr_accessor :session_initialization_mode
26099
+
25976
26100
  # The minimum interval, in milliseconds, between BFD control packets transmitted
25977
26101
  # to and received from the peer router when BFD echo mode is enabled on both
25978
26102
  # routers. The actual transmit and receive intervals are negotiated between the
@@ -25994,6 +26118,7 @@ module Google
25994
26118
  @mode = args[:mode] if args.key?(:mode)
25995
26119
  @multiplier = args[:multiplier] if args.key?(:multiplier)
25996
26120
  @packet_mode = args[:packet_mode] if args.key?(:packet_mode)
26121
+ @session_initialization_mode = args[:session_initialization_mode] if args.key?(:session_initialization_mode)
25997
26122
  @slow_timer_interval = args[:slow_timer_interval] if args.key?(:slow_timer_interval)
25998
26123
  end
25999
26124
  end
@@ -26003,32 +26128,32 @@ module Google
26003
26128
  include Google::Apis::Core::Hashable
26004
26129
 
26005
26130
  # IP address and range of the interface. The IP range must be in the RFC3927
26006
- # link-local IP space. The value must be a CIDR-formatted string, for example:
26007
- # 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP
26008
- # address of the interface.
26131
+ # link-local IP address space. The value must be a CIDR-formatted string, for
26132
+ # example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents
26133
+ # the IP address of the interface.
26009
26134
  # Corresponds to the JSON property `ipRange`
26010
26135
  # @return [String]
26011
26136
  attr_accessor :ip_range
26012
26137
 
26013
- # URI of the linked interconnect attachment. It must be in the same region as
26014
- # the router. Each interface can have at most one linked resource and it could
26015
- # either be a VPN Tunnel or an interconnect attachment.
26138
+ # URI of the linked Interconnect attachment. It must be in the same region as
26139
+ # the router. Each interface can have one linked resource, which can be either
26140
+ # be a VPN tunnel or an Interconnect attachment.
26016
26141
  # Corresponds to the JSON property `linkedInterconnectAttachment`
26017
26142
  # @return [String]
26018
26143
  attr_accessor :linked_interconnect_attachment
26019
26144
 
26020
- # URI of the linked VPN tunnel. It must be in the same region as the router.
26021
- # Each interface can have at most one linked resource and it could either be a
26022
- # VPN Tunnel or an interconnect attachment.
26145
+ # URI of the linked VPN tunnel, which must be in the same region as the router.
26146
+ # Each interface can have one linked resource, which can be either a VPN tunnel
26147
+ # or an Interconnect attachment.
26023
26148
  # Corresponds to the JSON property `linkedVpnTunnel`
26024
26149
  # @return [String]
26025
26150
  attr_accessor :linked_vpn_tunnel
26026
26151
 
26027
26152
  # [Output Only] The resource that configures and manages this interface.
26028
- # MANAGED_BY_USER is the default value and can be managed by you or other users;
26029
- # MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud
26030
- # Interconnect, specifically by an InterconnectAttachment of type PARTNER.
26031
- # Google will automatically create, update, and delete this type of interface
26153
+ # - MANAGED_BY_USER is the default value and can be managed directly by users.
26154
+ # - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by
26155
+ # Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER.
26156
+ # Google automatically creates, updates, and deletes this type of interface
26032
26157
  # when the PARTNER InterconnectAttachment is created, updated, or deleted.
26033
26158
  # Corresponds to the JSON property `managementType`
26034
26159
  # @return [String]
@@ -26197,9 +26322,9 @@ module Google
26197
26322
  attr_accessor :log_config
26198
26323
 
26199
26324
  # Minimum number of ports allocated to a VM from this NAT config. If not set, a
26200
- # default number of ports is allocated to a VM. This gets rounded up to the
26201
- # nearest power of 2. Eg. if the value of this field is 50, at least 64 ports
26202
- # will be allocated to a VM.
26325
+ # default number of ports is allocated to a VM. This is rounded up to the
26326
+ # nearest power of 2. For example, if the value of this field is 50, at least 64
26327
+ # ports are allocated to a VM.
26203
26328
  # Corresponds to the JSON property `minPortsPerVm`
26204
26329
  # @return [Fixnum]
26205
26330
  attr_accessor :min_ports_per_vm
@@ -26210,21 +26335,31 @@ module Google
26210
26335
  # @return [String]
26211
26336
  attr_accessor :name
26212
26337
 
26213
- # Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be
26214
- # empty.
26338
+ # Specify the NatIpAllocateOption, which can take one of the following values:
26339
+ # - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there
26340
+ # are not enough specified Nat IPs, the Nat service fails for new VMs.
26341
+ # - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't
26342
+ # specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty.
26215
26343
  # Corresponds to the JSON property `natIpAllocateOption`
26216
26344
  # @return [String]
26217
26345
  attr_accessor :nat_ip_allocate_option
26218
26346
 
26219
- # A list of URLs of the IP resources used for this Nat service. These IPs must
26220
- # be valid static external IP addresses assigned to the project. max_length is
26221
- # subject to change post alpha.
26347
+ # A list of URLs of the IP resources used for this Nat service. These IP
26348
+ # addresses must be valid static external IP addresses assigned to the project.
26222
26349
  # Corresponds to the JSON property `natIps`
26223
26350
  # @return [Array<String>]
26224
26351
  attr_accessor :nat_ips
26225
26352
 
26226
- # Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES
26227
- # or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other
26353
+ # Specify the Nat option, which can take one of the following values:
26354
+ # - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are
26355
+ # allowed to Nat.
26356
+ # - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every
26357
+ # Subnetwork are allowed to Nat.
26358
+ # - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in
26359
+ # the field subnetwork below) The default is
26360
+ # SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field
26361
+ # contains ALL_SUBNETWORKS_ALL_IP_RANGES or
26362
+ # ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other
26228
26363
  # Router.Nat section in any Router for this network in this region.
26229
26364
  # Corresponds to the JSON property `sourceSubnetworkIpRangesToNat`
26230
26365
  # @return [String]
@@ -26306,7 +26441,7 @@ module Google
26306
26441
  class RouterNatSubnetworkToNat
26307
26442
  include Google::Apis::Core::Hashable
26308
26443
 
26309
- # URL for the subnetwork resource to use NAT.
26444
+ # URL for the subnetwork resource that will use NAT.
26310
26445
  # Corresponds to the JSON property `name`
26311
26446
  # @return [String]
26312
26447
  attr_accessor :name
@@ -26318,7 +26453,7 @@ module Google
26318
26453
  # @return [Array<String>]
26319
26454
  attr_accessor :secondary_ip_range_names
26320
26455
 
26321
- # Specify the options for NAT ranges in the Subnetwork. All usages of single
26456
+ # Specify the options for NAT ranges in the Subnetwork. All options of a single
26322
26457
  # value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option
26323
26458
  # with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"]
26324
26459
  # Default: [ALL_IP_RANGES]
@@ -26807,13 +26942,7 @@ module Google
26807
26942
  attr_accessor :boot
26808
26943
  alias_method :boot?, :boot
26809
26944
 
26810
- # Specifies a unique device name of your choice that is reflected into the /dev/
26811
- # disk/by-id/google-* tree of a Linux operating system running within the
26812
- # instance. This name can be used to reference the device for mounting, resizing,
26813
- # and so on, from within the instance.
26814
- # If not specified, the server chooses a default device name to apply to this
26815
- # disk, in the form persistent-disks-x, where x is a number assigned by Google
26816
- # Compute Engine. This field is only applicable for persistent disks.
26945
+ # Specifies the name of the disk attached to the source instance.
26817
26946
  # Corresponds to the JSON property `deviceName`
26818
26947
  # @return [String]
26819
26948
  attr_accessor :device_name
@@ -26823,8 +26952,7 @@ module Google
26823
26952
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
26824
26953
  attr_accessor :disk_encryption_key
26825
26954
 
26826
- # The size of the disk in base-2 GB. This supersedes disk_size_gb in
26827
- # InitializeParams.
26955
+ # The size of the disk in base-2 GB.
26828
26956
  # Corresponds to the JSON property `diskSizeGb`
26829
26957
  # @return [Fixnum]
26830
26958
  attr_accessor :disk_size_gb
@@ -26836,27 +26964,13 @@ module Google
26836
26964
  # @return [Array<Google::Apis::ComputeAlpha::GuestOsFeature>]
26837
26965
  attr_accessor :guest_os_features
26838
26966
 
26839
- # [Output Only] A zero-based index to this disk, where 0 is reserved for the
26840
- # boot disk. If you have many disks attached to an instance, each disk would
26841
- # have a unique index number.
26967
+ # Specifies zero-based index of the disk that is attached to the source instance.
26842
26968
  # Corresponds to the JSON property `index`
26843
26969
  # @return [Fixnum]
26844
26970
  attr_accessor :index
26845
26971
 
26846
- # [Input Only] Specifies the parameters for a new disk that will be created
26847
- # alongside the new instance. Use initialization parameters to create boot disks
26848
- # or local SSDs attached to the new instance.
26849
- # This property is mutually exclusive with the source property; you can only
26850
- # define one or the other, but not both.
26851
- # Corresponds to the JSON property `initializeParams`
26852
- # @return [Google::Apis::ComputeAlpha::AttachedDiskInitializeParams]
26853
- attr_accessor :initialize_params
26854
-
26855
26972
  # Specifies the disk interface to use for attaching this disk, which is either
26856
- # SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
26857
- # the request will fail if you attempt to attach a persistent disk in any other
26858
- # format than SCSI. Local SSDs can use either NVME or SCSI. For performance
26859
- # characteristics of SCSI over NVMe, see Local SSD performance.
26973
+ # SCSI or NVME.
26860
26974
  # Corresponds to the JSON property `interface`
26861
26975
  # @return [String]
26862
26976
  attr_accessor :interface
@@ -26872,32 +26986,19 @@ module Google
26872
26986
  # @return [Array<String>]
26873
26987
  attr_accessor :licenses
26874
26988
 
26875
- # The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
26876
- # specified, the default is to attach the disk in READ_WRITE mode.
26989
+ # The mode in which this disk is attached to the source instance, either
26990
+ # READ_WRITE or READ_ONLY.
26877
26991
  # Corresponds to the JSON property `mode`
26878
26992
  # @return [String]
26879
26993
  attr_accessor :mode
26880
26994
 
26881
- # For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field
26882
- # is set to PRESERVED if the LocalSSD data has been saved to a persistent
26883
- # location by customer request. (see the discard_local_ssd option on Stop/
26884
- # Suspend). Read-only in the api.
26885
- # Corresponds to the JSON property `savedState`
26886
- # @return [String]
26887
- attr_accessor :saved_state
26888
-
26889
- # Specifies a valid partial or full URL to an existing Persistent Disk resource.
26890
- # When creating a new instance, one of initializeParams.sourceImage or disks.
26891
- # source is required except for local SSD.
26892
- # If desired, you can also attach existing non-root persistent disks using this
26893
- # property. This field is only applicable for persistent disks.
26894
- # Note that for sourceMachineImage, specify the disk name, not the URL for the
26895
- # disk.
26995
+ # Specifies a URL of the disk attached to the source instance.
26896
26996
  # Corresponds to the JSON property `source`
26897
26997
  # @return [String]
26898
26998
  attr_accessor :source
26899
26999
 
26900
- # [Output Only] A size of the storage used by the disk's snapshot.
27000
+ # [Output Only] A size of the storage used by the disk's snapshot by this
27001
+ # machine image.
26901
27002
  # Corresponds to the JSON property `storageBytes`
26902
27003
  # @return [Fixnum]
26903
27004
  attr_accessor :storage_bytes
@@ -26910,8 +27011,7 @@ module Google
26910
27011
  # @return [String]
26911
27012
  attr_accessor :storage_bytes_status
26912
27013
 
26913
- # Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified,
26914
- # the default is PERSISTENT.
27014
+ # Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
26915
27015
  # Corresponds to the JSON property `type`
26916
27016
  # @return [String]
26917
27017
  attr_accessor :type
@@ -26929,12 +27029,10 @@ module Google
26929
27029
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
26930
27030
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
26931
27031
  @index = args[:index] if args.key?(:index)
26932
- @initialize_params = args[:initialize_params] if args.key?(:initialize_params)
26933
27032
  @interface = args[:interface] if args.key?(:interface)
26934
27033
  @kind = args[:kind] if args.key?(:kind)
26935
27034
  @licenses = args[:licenses] if args.key?(:licenses)
26936
27035
  @mode = args[:mode] if args.key?(:mode)
26937
- @saved_state = args[:saved_state] if args.key?(:saved_state)
26938
27036
  @source = args[:source] if args.key?(:source)
26939
27037
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
26940
27038
  @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
@@ -28450,7 +28548,7 @@ module Google
28450
28548
  attr_accessor :can_ip_forward
28451
28549
  alias_method :can_ip_forward?, :can_ip_forward
28452
28550
 
28453
- # Whether the instance created from the machine image should be protected
28551
+ # Whether the instance created from this machine image should be protected
28454
28552
  # against deletion.
28455
28553
  # Corresponds to the JSON property `deletionProtection`
28456
28554
  # @return [Boolean]
@@ -28470,7 +28568,7 @@ module Google
28470
28568
  attr_accessor :disks
28471
28569
 
28472
28570
  # A list of guest accelerator cards' type and count to use for instances created
28473
- # from the machine image.
28571
+ # from this machine image.
28474
28572
  # Corresponds to the JSON property `guestAccelerators`
28475
28573
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
28476
28574
  attr_accessor :guest_accelerators
@@ -28490,11 +28588,11 @@ module Google
28490
28588
  # @return [Google::Apis::ComputeAlpha::Metadata]
28491
28589
  attr_accessor :metadata
28492
28590
 
28493
- # Minimum cpu/platform to be used by this instance. The instance may be
28494
- # scheduled on the specified or newer cpu/platform. Applicable values are the
28495
- # friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or
28496
- # minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a
28497
- # Minimum CPU Platform.
28591
+ # Minimum cpu/platform to be used by instances created from this machine image.
28592
+ # The instance may be scheduled on the specified or newer cpu/platform.
28593
+ # Applicable values are the friendly names of CPU platforms, such as
28594
+ # minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For
28595
+ # more information, read Specifying a Minimum CPU Platform.
28498
28596
  # Corresponds to the JSON property `minCpuPlatform`
28499
28597
  # @return [String]
28500
28598
  attr_accessor :min_cpu_platform
@@ -29506,10 +29604,12 @@ module Google
29506
29604
  class Subnetwork
29507
29605
  include Google::Apis::Core::Hashable
29508
29606
 
29509
- # Can only be specified if VPC flow logging for this subnetwork is enabled.
29510
- # Toggles the aggregation interval for collecting flow logs. Increasing the
29511
- # interval time will reduce the amount of generated flow logs for long lasting
29512
- # connections. Default is an interval of 5 seconds per connection.
29607
+ # Can only be specified if VPC flow logging for this subnetwork is enabled. Sets
29608
+ # the aggregation interval for collecting flow logs. Increasing the interval
29609
+ # time reduces the amount of generated flow logs for long-lasting connections.
29610
+ # Default is an interval of 5 seconds per connection. Valid values:
29611
+ # INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, INTERVAL_5_MIN,
29612
+ # INTERVAL_10_MIN, INTERVAL_15_MIN.
29513
29613
  # Corresponds to the JSON property `aggregationInterval`
29514
29614
  # @return [String]
29515
29615
  attr_accessor :aggregation_interval
@@ -29571,7 +29671,7 @@ module Google
29571
29671
  # Can only be specified if VPC flow logging for this subnetwork is enabled. The
29572
29672
  # value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs
29573
29673
  # within the subnetwork where 1.0 means all collected logs are reported and 0.0
29574
- # means no logs are reported. Default is 0.5 which means half of all collected
29674
+ # means no logs are reported. Default is 0.5, which means half of all collected
29575
29675
  # logs are reported.
29576
29676
  # Corresponds to the JSON property `flowSampling`
29577
29677
  # @return [Float]
@@ -30010,7 +30110,7 @@ module Google
30010
30110
  # Can only be specified if VPC flow logging for this subnetwork is enabled. The
30011
30111
  # value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs
30012
30112
  # within the subnetwork where 1.0 means all collected logs are reported and 0.0
30013
- # means no logs are reported. Default is 0.5 which means half of all collected
30113
+ # means no logs are reported. Default is 0.5, which means half of all collected
30014
30114
  # logs are reported.
30015
30115
  # Corresponds to the JSON property `flowSampling`
30016
30116
  # @return [Float]