google-api-client 0.24.2 → 0.24.3

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 (185) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +68 -0
  3. data/README.md +9 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +5 -4
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +90 -87
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +17 -15
  7. data/generated/google/apis/admin_directory_v1.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1/classes.rb +155 -0
  9. data/generated/google/apis/admin_directory_v1/representations.rb +82 -0
  10. data/generated/google/apis/alertcenter_v1beta1.rb +31 -0
  11. data/generated/google/apis/alertcenter_v1beta1/classes.rb +835 -0
  12. data/generated/google/apis/alertcenter_v1beta1/representations.rb +394 -0
  13. data/generated/google/apis/alertcenter_v1beta1/service.rb +302 -0
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +37 -0
  16. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  17. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +8 -1
  18. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  19. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -4
  20. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  21. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  22. data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
  23. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  24. data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/classes.rb +8 -1
  27. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  28. data/generated/google/apis/appengine_v1beta.rb +1 -1
  29. data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
  30. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  31. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +6 -5
  32. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +12 -10
  33. data/generated/google/apis/calendar_v3.rb +1 -1
  34. data/generated/google/apis/calendar_v3/service.rb +52 -18
  35. data/generated/google/apis/cloudasset_v1beta1.rb +34 -0
  36. data/generated/google/apis/cloudasset_v1beta1/classes.rb +798 -0
  37. data/generated/google/apis/cloudasset_v1beta1/representations.rb +263 -0
  38. data/generated/google/apis/cloudasset_v1beta1/service.rb +313 -0
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +42 -5
  41. data/generated/google/apis/cloudbuild_v1/representations.rb +6 -0
  42. data/generated/google/apis/cloudiot_v1.rb +1 -1
  43. data/generated/google/apis/cloudiot_v1/classes.rb +59 -0
  44. data/generated/google/apis/cloudiot_v1/representations.rb +28 -0
  45. data/generated/google/apis/cloudiot_v1/service.rb +94 -0
  46. data/generated/google/apis/composer_v1.rb +1 -1
  47. data/generated/google/apis/composer_v1/classes.rb +1 -0
  48. data/generated/google/apis/composer_v1beta1.rb +1 -1
  49. data/generated/google/apis/composer_v1beta1/classes.rb +34 -5
  50. data/generated/google/apis/composer_v1beta1/representations.rb +1 -0
  51. data/generated/google/apis/compute_alpha.rb +1 -1
  52. data/generated/google/apis/compute_alpha/classes.rb +227 -48
  53. data/generated/google/apis/compute_alpha/representations.rb +84 -1
  54. data/generated/google/apis/compute_alpha/service.rb +50 -10
  55. data/generated/google/apis/compute_beta.rb +1 -1
  56. data/generated/google/apis/compute_beta/classes.rb +593 -77
  57. data/generated/google/apis/compute_beta/representations.rb +224 -18
  58. data/generated/google/apis/compute_beta/service.rb +174 -3
  59. data/generated/google/apis/compute_v1.rb +1 -1
  60. data/generated/google/apis/compute_v1/classes.rb +41 -18
  61. data/generated/google/apis/compute_v1/representations.rb +3 -0
  62. data/generated/google/apis/content_v2.rb +1 -1
  63. data/generated/google/apis/content_v2/classes.rb +372 -119
  64. data/generated/google/apis/content_v2/representations.rb +157 -39
  65. data/generated/google/apis/content_v2/service.rb +101 -11
  66. data/generated/google/apis/content_v2sandbox.rb +1 -1
  67. data/generated/google/apis/content_v2sandbox/classes.rb +372 -119
  68. data/generated/google/apis/content_v2sandbox/representations.rb +157 -39
  69. data/generated/google/apis/content_v2sandbox/service.rb +90 -0
  70. data/generated/google/apis/customsearch_v1.rb +1 -1
  71. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  72. data/generated/google/apis/dataflow_v1b3/classes.rb +7 -0
  73. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
  74. data/generated/google/apis/dataproc_v1.rb +1 -1
  75. data/generated/google/apis/dataproc_v1/classes.rb +12 -0
  76. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  77. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  78. data/generated/google/apis/dataproc_v1beta2/classes.rb +21 -6
  79. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  80. data/generated/google/apis/datastore_v1.rb +1 -1
  81. data/generated/google/apis/datastore_v1/classes.rb +2 -2
  82. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  83. data/generated/google/apis/datastore_v1beta3/classes.rb +2 -2
  84. data/generated/google/apis/dlp_v2.rb +1 -1
  85. data/generated/google/apis/dlp_v2/classes.rb +110 -5
  86. data/generated/google/apis/dlp_v2/representations.rb +17 -0
  87. data/generated/google/apis/dlp_v2/service.rb +41 -3
  88. data/generated/google/apis/file_v1beta1.rb +1 -1
  89. data/generated/google/apis/file_v1beta1/classes.rb +0 -234
  90. data/generated/google/apis/file_v1beta1/representations.rb +0 -79
  91. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  92. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +19 -1
  93. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +3 -0
  94. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -1
  95. data/generated/google/apis/firebasehosting_v1beta1.rb +43 -0
  96. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +767 -0
  97. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +337 -0
  98. data/generated/google/apis/firebasehosting_v1beta1/service.rb +502 -0
  99. data/generated/google/apis/firebaserules_v1.rb +1 -1
  100. data/generated/google/apis/firebaserules_v1/classes.rb +8 -0
  101. data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
  102. data/generated/google/apis/firebaserules_v1/service.rb +1 -1
  103. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  104. data/generated/google/apis/firestore_v1beta2/service.rb +80 -80
  105. data/generated/google/apis/games_v1.rb +1 -1
  106. data/generated/google/apis/games_v1/service.rb +4 -1
  107. data/generated/google/apis/iam_v1.rb +1 -1
  108. data/generated/google/apis/iam_v1/classes.rb +3 -1
  109. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  110. data/generated/google/apis/iamcredentials_v1/service.rb +0 -10
  111. data/generated/google/apis/iap_v1beta1.rb +1 -1
  112. data/generated/google/apis/iap_v1beta1/service.rb +339 -0
  113. data/generated/google/apis/jobs_v2.rb +1 -1
  114. data/generated/google/apis/jobs_v2/classes.rb +45 -37
  115. data/generated/google/apis/jobs_v3.rb +1 -1
  116. data/generated/google/apis/jobs_v3/classes.rb +21 -18
  117. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  118. data/generated/google/apis/jobs_v3p1beta1/classes.rb +45 -20
  119. data/generated/google/apis/jobs_v3p1beta1/representations.rb +2 -0
  120. data/generated/google/apis/language_v1.rb +1 -1
  121. data/generated/google/apis/language_v1beta1.rb +1 -1
  122. data/generated/google/apis/language_v1beta2.rb +1 -1
  123. data/generated/google/apis/logging_v2.rb +1 -1
  124. data/generated/google/apis/logging_v2/classes.rb +12 -0
  125. data/generated/google/apis/logging_v2/representations.rb +1 -0
  126. data/generated/google/apis/logging_v2beta1.rb +1 -1
  127. data/generated/google/apis/logging_v2beta1/classes.rb +12 -0
  128. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  129. data/generated/google/apis/ml_v1.rb +1 -1
  130. data/generated/google/apis/ml_v1/classes.rb +2 -2
  131. data/generated/google/apis/monitoring_v3.rb +1 -1
  132. data/generated/google/apis/monitoring_v3/classes.rb +19 -17
  133. data/generated/google/apis/monitoring_v3/representations.rb +1 -2
  134. data/generated/google/apis/partners_v2.rb +1 -1
  135. data/generated/google/apis/partners_v2/classes.rb +18 -15
  136. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  137. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +18 -15
  138. data/generated/google/apis/redis_v1.rb +1 -1
  139. data/generated/google/apis/redis_v1/classes.rb +1 -1
  140. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  141. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
  142. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  143. data/generated/google/apis/servicemanagement_v1/classes.rb +2 -150
  144. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -42
  145. data/generated/google/apis/servicenetworking_v1beta.rb +38 -0
  146. data/generated/google/apis/servicenetworking_v1beta/classes.rb +3440 -0
  147. data/generated/google/apis/servicenetworking_v1beta/representations.rb +992 -0
  148. data/generated/google/apis/servicenetworking_v1beta/service.rb +227 -0
  149. data/generated/google/apis/serviceusage_v1.rb +1 -1
  150. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  151. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  152. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  153. data/generated/google/apis/serviceuser_v1.rb +1 -1
  154. data/generated/google/apis/serviceuser_v1/classes.rb +2 -150
  155. data/generated/google/apis/serviceuser_v1/representations.rb +0 -42
  156. data/generated/google/apis/spanner_v1.rb +1 -1
  157. data/generated/google/apis/spanner_v1/classes.rb +308 -30
  158. data/generated/google/apis/spanner_v1/representations.rb +17 -0
  159. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  160. data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -0
  161. data/generated/google/apis/streetviewpublish_v1/representations.rb +1 -0
  162. data/generated/google/apis/testing_v1.rb +1 -1
  163. data/generated/google/apis/testing_v1/classes.rb +47 -0
  164. data/generated/google/apis/testing_v1/representations.rb +18 -0
  165. data/generated/google/apis/videointelligence_v1.rb +1 -1
  166. data/generated/google/apis/videointelligence_v1/classes.rb +676 -0
  167. data/generated/google/apis/videointelligence_v1/representations.rb +306 -0
  168. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  169. data/generated/google/apis/videointelligence_v1beta2/classes.rb +676 -0
  170. data/generated/google/apis/videointelligence_v1beta2/representations.rb +306 -0
  171. data/generated/google/apis/{videointelligence_v1beta1.rb → videointelligence_v1p1beta1.rb} +6 -6
  172. data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/classes.rb +885 -489
  173. data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/representations.rb +357 -194
  174. data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/service.rb +12 -12
  175. data/generated/google/apis/vision_v1.rb +1 -1
  176. data/generated/google/apis/vision_v1/classes.rb +1 -1
  177. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  178. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  179. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  180. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  181. data/generated/google/apis/youtube_partner_v1.rb +2 -2
  182. data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
  183. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  184. data/lib/google/apis/version.rb +1 -1
  185. metadata +22 -6
@@ -179,6 +179,7 @@ module Google
179
179
  hash :env_variables, as: 'envVariables'
180
180
  property :image_version, as: 'imageVersion'
181
181
  hash :pypi_packages, as: 'pypiPackages'
182
+ property :python_version, as: 'pythonVersion'
182
183
  end
183
184
  end
184
185
 
@@ -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 = '20180828'
28
+ REVISION = '20180916'
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'
@@ -6299,7 +6299,7 @@ module Google
6299
6299
  # rule supports either IPv4 or IPv6.
6300
6300
  # When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL
6301
6301
  # reference to an existing Address resource ( internal regional static IP
6302
- # address).
6302
+ # address), with a purpose of GCE_END_POINT and address_type of INTERNAL.
6303
6303
  # When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
6304
6304
  # address belonging to the network/subnet configured for the forwarding rule. By
6305
6305
  # default, if this field is empty, an ephemeral internal IP address will be
@@ -7007,6 +7007,17 @@ module Google
7007
7007
  # @return [String]
7008
7008
  attr_accessor :kind
7009
7009
 
7010
+ # The path to be queried. This can be the default namespace ('/') or a nested
7011
+ # namespace ('//') or a specified key ('//')
7012
+ # Corresponds to the JSON property `queryPath`
7013
+ # @return [String]
7014
+ attr_accessor :query_path
7015
+
7016
+ # Array of guest attribute namespace/key/value tuples.
7017
+ # Corresponds to the JSON property `queryValue`
7018
+ # @return [Google::Apis::ComputeAlpha::GuestAttributesValue]
7019
+ attr_accessor :query_value
7020
+
7010
7021
  # [Output Only] Server-defined URL for this resource.
7011
7022
  # Corresponds to the JSON property `selfLink`
7012
7023
  # @return [String]
@@ -7029,12 +7040,64 @@ module Google
7029
7040
  # Update properties of this object
7030
7041
  def update!(**args)
7031
7042
  @kind = args[:kind] if args.key?(:kind)
7043
+ @query_path = args[:query_path] if args.key?(:query_path)
7044
+ @query_value = args[:query_value] if args.key?(:query_value)
7032
7045
  @self_link = args[:self_link] if args.key?(:self_link)
7033
7046
  @variable_key = args[:variable_key] if args.key?(:variable_key)
7034
7047
  @variable_value = args[:variable_value] if args.key?(:variable_value)
7035
7048
  end
7036
7049
  end
7037
7050
 
7051
+ # A guest attributes namespace/key/value entry.
7052
+ class GuestAttributesEntry
7053
+ include Google::Apis::Core::Hashable
7054
+
7055
+ # Key for the guest attribute entry.
7056
+ # Corresponds to the JSON property `key`
7057
+ # @return [String]
7058
+ attr_accessor :key
7059
+
7060
+ # Namespace for the guest attribute entry.
7061
+ # Corresponds to the JSON property `namespace`
7062
+ # @return [String]
7063
+ attr_accessor :namespace
7064
+
7065
+ # Value for the guest attribute entry.
7066
+ # Corresponds to the JSON property `value`
7067
+ # @return [String]
7068
+ attr_accessor :value
7069
+
7070
+ def initialize(**args)
7071
+ update!(**args)
7072
+ end
7073
+
7074
+ # Update properties of this object
7075
+ def update!(**args)
7076
+ @key = args[:key] if args.key?(:key)
7077
+ @namespace = args[:namespace] if args.key?(:namespace)
7078
+ @value = args[:value] if args.key?(:value)
7079
+ end
7080
+ end
7081
+
7082
+ # Array of guest attribute namespace/key/value tuples.
7083
+ class GuestAttributesValue
7084
+ include Google::Apis::Core::Hashable
7085
+
7086
+ #
7087
+ # Corresponds to the JSON property `items`
7088
+ # @return [Array<Google::Apis::ComputeAlpha::GuestAttributesEntry>]
7089
+ attr_accessor :items
7090
+
7091
+ def initialize(**args)
7092
+ update!(**args)
7093
+ end
7094
+
7095
+ # Update properties of this object
7096
+ def update!(**args)
7097
+ @items = args[:items] if args.key?(:items)
7098
+ end
7099
+ end
7100
+
7038
7101
  # Guest OS features.
7039
7102
  class GuestOsFeature
7040
7103
  include Google::Apis::Core::Hashable
@@ -10050,14 +10113,35 @@ module Google
10050
10113
  attr_accessor :is_stable
10051
10114
  alias_method :is_stable?, :is_stable
10052
10115
 
10116
+ # [Output Only] A status of consistency of Instances' versions with their target
10117
+ # version specified by version field on Instance Group Manager.
10118
+ # Corresponds to the JSON property `versionTarget`
10119
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusVersionTarget]
10120
+ attr_accessor :version_target
10121
+
10122
+ def initialize(**args)
10123
+ update!(**args)
10124
+ end
10125
+
10126
+ # Update properties of this object
10127
+ def update!(**args)
10128
+ @is_stable = args[:is_stable] if args.key?(:is_stable)
10129
+ @version_target = args[:version_target] if args.key?(:version_target)
10130
+ end
10131
+ end
10132
+
10133
+ #
10134
+ class InstanceGroupManagerStatusVersionTarget
10135
+ include Google::Apis::Core::Hashable
10136
+
10053
10137
  # [Output Only] A bit indicating whether version target has been reached in this
10054
10138
  # managed instance group, i.e. all instances are in their target version.
10055
10139
  # Instances' target version are specified by version field on Instance Group
10056
10140
  # Manager.
10057
- # Corresponds to the JSON property `versionTargetReached`
10141
+ # Corresponds to the JSON property `isReached`
10058
10142
  # @return [Boolean]
10059
- attr_accessor :version_target_reached
10060
- alias_method :version_target_reached?, :version_target_reached
10143
+ attr_accessor :is_reached
10144
+ alias_method :is_reached?, :is_reached
10061
10145
 
10062
10146
  def initialize(**args)
10063
10147
  update!(**args)
@@ -10065,8 +10149,7 @@ module Google
10065
10149
 
10066
10150
  # Update properties of this object
10067
10151
  def update!(**args)
10068
- @is_stable = args[:is_stable] if args.key?(:is_stable)
10069
- @version_target_reached = args[:version_target_reached] if args.key?(:version_target_reached)
10152
+ @is_reached = args[:is_reached] if args.key?(:is_reached)
10070
10153
  end
10071
10154
  end
10072
10155
 
@@ -11208,6 +11291,12 @@ module Google
11208
11291
  class InstanceProperties
11209
11292
  include Google::Apis::Core::Hashable
11210
11293
 
11294
+ # AllocationAffinity is the configuration of desired allocation which this
11295
+ # instance could take capacity from.
11296
+ # Corresponds to the JSON property `allocationAffinity`
11297
+ # @return [Google::Apis::ComputeAlpha::AllocationAffinity]
11298
+ attr_accessor :allocation_affinity
11299
+
11211
11300
  # Enables instances created based on this template to send packets with source
11212
11301
  # IP addresses other than their own and receive packets with destination IP
11213
11302
  # addresses other than their own. If these instances will be used as an IP
@@ -11294,6 +11383,7 @@ module Google
11294
11383
 
11295
11384
  # Update properties of this object
11296
11385
  def update!(**args)
11386
+ @allocation_affinity = args[:allocation_affinity] if args.key?(:allocation_affinity)
11297
11387
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
11298
11388
  @description = args[:description] if args.key?(:description)
11299
11389
  @disks = args[:disks] if args.key?(:disks)
@@ -13696,8 +13786,8 @@ module Google
13696
13786
  # @return [Fixnum]
13697
13787
  attr_accessor :license_code
13698
13788
 
13699
- # [Output Only] Name of the resource. The name is 1-63 characters long and
13700
- # complies with RFC1035.
13789
+ # Name of the resource. The name must be 1-63 characters long and comply with
13790
+ # RFC1035.
13701
13791
  # Corresponds to the JSON property `name`
13702
13792
  # @return [String]
13703
13793
  attr_accessor :name
@@ -13988,15 +14078,16 @@ module Google
13988
14078
  # metric names will have "/iam/policy" prepended.
13989
14079
  # Field names correspond to IAM request parameters and field values are their
13990
14080
  # respective values.
13991
- # At present the only supported field names are - "iam_principal", corresponding
13992
- # to IAMContext.principal; - "" (empty string), resulting in one aggretated
13993
- # counter with no field.
14081
+ # Supported field names: - "authority", which is "[token]" if IAMContext.token
14082
+ # is present, otherwise the value of IAMContext.authority_selector if present,
14083
+ # and otherwise a representation of IAMContext.principal; or - "iam_principal",
14084
+ # a representation of IAMContext.principal even if a token or authority selector
14085
+ # is present; or - "" (empty string), resulting in a counter with no fields.
13994
14086
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
13995
14087
  # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
13996
14088
  # of IAMContext.principal]`
13997
- # At this time we do not support: * multiple field names (though this may be
13998
- # supported in the future) * decrementing the counter * incrementing it by
13999
- # anything other than 1
14089
+ # At this time we do not support multiple field names (though this may be
14090
+ # supported in the future).
14000
14091
  # Corresponds to the JSON property `counter`
14001
14092
  # @return [Google::Apis::ComputeAlpha::LogConfigCounterOptions]
14002
14093
  attr_accessor :counter
@@ -14049,15 +14140,16 @@ module Google
14049
14140
  # metric names will have "/iam/policy" prepended.
14050
14141
  # Field names correspond to IAM request parameters and field values are their
14051
14142
  # respective values.
14052
- # At present the only supported field names are - "iam_principal", corresponding
14053
- # to IAMContext.principal; - "" (empty string), resulting in one aggretated
14054
- # counter with no field.
14143
+ # Supported field names: - "authority", which is "[token]" if IAMContext.token
14144
+ # is present, otherwise the value of IAMContext.authority_selector if present,
14145
+ # and otherwise a representation of IAMContext.principal; or - "iam_principal",
14146
+ # a representation of IAMContext.principal even if a token or authority selector
14147
+ # is present; or - "" (empty string), resulting in a counter with no fields.
14055
14148
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
14056
14149
  # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
14057
14150
  # of IAMContext.principal]`
14058
- # At this time we do not support: * multiple field names (though this may be
14059
- # supported in the future) * decrementing the counter * incrementing it by
14060
- # anything other than 1
14151
+ # At this time we do not support multiple field names (though this may be
14152
+ # supported in the future).
14061
14153
  class LogConfigCounterOptions
14062
14154
  include Google::Apis::Core::Hashable
14063
14155
 
@@ -14145,8 +14237,8 @@ module Google
14145
14237
  # @return [String]
14146
14238
  attr_accessor :self_link
14147
14239
 
14148
- # The source instance used to create the template. You can provide this as a
14149
- # partial or full URL to the resource. For example, the following are valid
14240
+ # The source instance used to create the machine image. You can provide this as
14241
+ # a partial or full URL to the resource. For example, the following are valid
14150
14242
  # values:
14151
14243
  # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
14152
14244
  # instance
@@ -15120,9 +15212,9 @@ module Google
15120
15212
  end
15121
15213
  end
15122
15214
 
15123
- # Represents a Network resource. Read Networks and Firewalls for more
15124
- # information. (== resource_for v1.networks ==) (== resource_for beta.networks ==
15125
- # )
15215
+ # Represents a Network resource. Read Virtual Private Cloud (VPC) Network
15216
+ # Overview for more information. (== resource_for v1.networks ==) (==
15217
+ # resource_for beta.networks ==)
15126
15218
  class Network
15127
15219
  include Google::Apis::Core::Hashable
15128
15220
 
@@ -15133,10 +15225,10 @@ module Google
15133
15225
  # @return [String]
15134
15226
  attr_accessor :i_pv4_range
15135
15227
 
15136
- # When set to true, the network is created in "auto subnet mode". When set to
15137
- # false, the network is in "custom subnet mode".
15138
- # In "auto subnet mode", a newly created network is assigned the default CIDR of
15139
- # 10.128.0.0/9 and it automatically creates one subnetwork per region.
15228
+ # When set to true, the VPC network is created in "auto" mode. When set to false,
15229
+ # the VPC network is created in "custom" mode.
15230
+ # An auto mode VPC network starts with one subnet per region. Each subnet has a
15231
+ # predetermined range as described in Auto mode VPC network IP ranges.
15140
15232
  # Corresponds to the JSON property `autoCreateSubnetworks`
15141
15233
  # @return [Boolean]
15142
15234
  attr_accessor :auto_create_subnetworks
@@ -15158,9 +15250,8 @@ module Google
15158
15250
  # @return [String]
15159
15251
  attr_accessor :description
15160
15252
 
15161
- # A gateway address for default routing to other networks. This value is read
15162
- # only and is selected by the Google Compute Engine, typically as the first
15163
- # usable address in the IPv4Range.
15253
+ # [Output Only] The gateway address for default routing out of the network. This
15254
+ # value is read only and is selected by GCP.
15164
15255
  # Corresponds to the JSON property `gatewayIPv4`
15165
15256
  # @return [String]
15166
15257
  attr_accessor :gateway_i_pv4
@@ -15209,7 +15300,7 @@ module Google
15209
15300
  attr_accessor :self_link
15210
15301
 
15211
15302
  # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this
15212
- # network.
15303
+ # VPC network.
15213
15304
  # Corresponds to the JSON property `subnetworks`
15214
15305
  # @return [Array<String>]
15215
15306
  attr_accessor :subnetworks
@@ -15285,6 +15376,12 @@ module Google
15285
15376
  # @return [String]
15286
15377
  attr_accessor :creation_timestamp
15287
15378
 
15379
+ # The default port used if the port number is not specified in the network
15380
+ # endpoint.
15381
+ # Corresponds to the JSON property `defaultPort`
15382
+ # @return [Fixnum]
15383
+ attr_accessor :default_port
15384
+
15288
15385
  # An optional description of this resource. Provide this property when you
15289
15386
  # create the resource.
15290
15387
  # Corresponds to the JSON property `description`
@@ -15318,6 +15415,12 @@ module Google
15318
15415
  # @return [String]
15319
15416
  attr_accessor :name
15320
15417
 
15418
+ # The URL of the network to which all network endpoints in the NEG belong. Uses "
15419
+ # default" project network if unspecified.
15420
+ # Corresponds to the JSON property `network`
15421
+ # @return [String]
15422
+ attr_accessor :network
15423
+
15321
15424
  # Type of network endpoints in this network endpoint group. Currently the only
15322
15425
  # supported value is GCE_VM_IP_PORT.
15323
15426
  # Corresponds to the JSON property `networkEndpointType`
@@ -15334,12 +15437,23 @@ module Google
15334
15437
  # @return [Fixnum]
15335
15438
  attr_accessor :size
15336
15439
 
15440
+ # Optional URL of the subnetwork to which all network endpoints in the NEG
15441
+ # belong.
15442
+ # Corresponds to the JSON property `subnetwork`
15443
+ # @return [String]
15444
+ attr_accessor :subnetwork
15445
+
15337
15446
  # Specify the type of this network endpoint group. Only LOAD_BALANCING is valid
15338
15447
  # for now.
15339
15448
  # Corresponds to the JSON property `type`
15340
15449
  # @return [String]
15341
15450
  attr_accessor :type
15342
15451
 
15452
+ # [Output Only] The URL of the zone where the network endpoint group is located.
15453
+ # Corresponds to the JSON property `zone`
15454
+ # @return [String]
15455
+ attr_accessor :zone
15456
+
15343
15457
  def initialize(**args)
15344
15458
  update!(**args)
15345
15459
  end
@@ -15347,15 +15461,19 @@ module Google
15347
15461
  # Update properties of this object
15348
15462
  def update!(**args)
15349
15463
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
15464
+ @default_port = args[:default_port] if args.key?(:default_port)
15350
15465
  @description = args[:description] if args.key?(:description)
15351
15466
  @id = args[:id] if args.key?(:id)
15352
15467
  @kind = args[:kind] if args.key?(:kind)
15353
15468
  @load_balancer = args[:load_balancer] if args.key?(:load_balancer)
15354
15469
  @name = args[:name] if args.key?(:name)
15470
+ @network = args[:network] if args.key?(:network)
15355
15471
  @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
15356
15472
  @self_link = args[:self_link] if args.key?(:self_link)
15357
15473
  @size = args[:size] if args.key?(:size)
15474
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
15358
15475
  @type = args[:type] if args.key?(:type)
15476
+ @zone = args[:zone] if args.key?(:zone)
15359
15477
  end
15360
15478
  end
15361
15479
 
@@ -16212,9 +16330,9 @@ module Google
16212
16330
  include Google::Apis::Core::Hashable
16213
16331
 
16214
16332
  # The network-wide routing mode to use. If set to REGIONAL, this network's cloud
16215
- # routers will only advertise routes with subnetworks of this network in the
16216
- # same region as the router. If set to GLOBAL, this network's cloud routers will
16217
- # advertise routes with all subnetworks of this network, across regions.
16333
+ # routers will only advertise routes with subnets of this network in the same
16334
+ # region as the router. If set to GLOBAL, this network's cloud routers will
16335
+ # advertise routes with all subnets of this network, across regions.
16218
16336
  # Corresponds to the JSON property `routingMode`
16219
16337
  # @return [String]
16220
16338
  attr_accessor :routing_mode
@@ -22606,7 +22724,7 @@ module Google
22606
22724
  # source is required except for local SSD.
22607
22725
  # If desired, you can also attach existing non-root persistent disks using this
22608
22726
  # property. This field is only applicable for persistent disks.
22609
- # Note that for InstanceTemplate, specify the disk name, not the URL for the
22727
+ # Note that for sourceMachineImage, specify the disk name, not the URL for the
22610
22728
  # disk.
22611
22729
  # Corresponds to the JSON property `source`
22612
22730
  # @return [String]
@@ -23255,6 +23373,63 @@ module Google
23255
23373
  end
23256
23374
  end
23257
23375
 
23376
+ # A shielded VM identity entry.
23377
+ class ShieldedVmIdentity
23378
+ include Google::Apis::Core::Hashable
23379
+
23380
+ # A Shielded VM Identity Entry.
23381
+ # Corresponds to the JSON property `encryptionKey`
23382
+ # @return [Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry]
23383
+ attr_accessor :encryption_key
23384
+
23385
+ # [Output Only] Type of the resource. Always compute#shieldedVmIdentity for
23386
+ # shielded VM identity entry.
23387
+ # Corresponds to the JSON property `kind`
23388
+ # @return [String]
23389
+ attr_accessor :kind
23390
+
23391
+ # A Shielded VM Identity Entry.
23392
+ # Corresponds to the JSON property `signingKey`
23393
+ # @return [Google::Apis::ComputeAlpha::ShieldedVmIdentityEntry]
23394
+ attr_accessor :signing_key
23395
+
23396
+ def initialize(**args)
23397
+ update!(**args)
23398
+ end
23399
+
23400
+ # Update properties of this object
23401
+ def update!(**args)
23402
+ @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
23403
+ @kind = args[:kind] if args.key?(:kind)
23404
+ @signing_key = args[:signing_key] if args.key?(:signing_key)
23405
+ end
23406
+ end
23407
+
23408
+ # A Shielded VM Identity Entry.
23409
+ class ShieldedVmIdentityEntry
23410
+ include Google::Apis::Core::Hashable
23411
+
23412
+ #
23413
+ # Corresponds to the JSON property `ekCert`
23414
+ # @return [String]
23415
+ attr_accessor :ek_cert
23416
+
23417
+ #
23418
+ # Corresponds to the JSON property `ekPub`
23419
+ # @return [String]
23420
+ attr_accessor :ek_pub
23421
+
23422
+ def initialize(**args)
23423
+ update!(**args)
23424
+ end
23425
+
23426
+ # Update properties of this object
23427
+ def update!(**args)
23428
+ @ek_cert = args[:ek_cert] if args.key?(:ek_cert)
23429
+ @ek_pub = args[:ek_pub] if args.key?(:ek_pub)
23430
+ end
23431
+ end
23432
+
23258
23433
  # The policy describes the baseline against which VM instance boot integrity is
23259
23434
  # measured.
23260
23435
  class ShieldedVmIntegrityPolicy
@@ -23621,9 +23796,9 @@ module Google
23621
23796
  class SourceInstanceProperties
23622
23797
  include Google::Apis::Core::Hashable
23623
23798
 
23624
- # Enables instances created based on this template to send packets with source
23625
- # IP addresses other than their own and receive packets with destination IP
23626
- # addresses other than their own. If these instances will be used as an IP
23799
+ # Enables instances created based on this machine image to send packets with
23800
+ # source IP addresses other than their own and receive packets with destination
23801
+ # IP addresses other than their own. If these instances will be used as an IP
23627
23802
  # gateway or it will be set as the next-hop in a Route resource, specify true.
23628
23803
  # If unsure, leave this set to false. See the Enable IP forwarding documentation
23629
23804
  # for more information.
@@ -23632,36 +23807,37 @@ module Google
23632
23807
  attr_accessor :can_ip_forward
23633
23808
  alias_method :can_ip_forward?, :can_ip_forward
23634
23809
 
23635
- # Whether the resource should be protected against deletion.
23810
+ # Whether the instance created from the machine image should be protected
23811
+ # against deletion.
23636
23812
  # Corresponds to the JSON property `deletionProtection`
23637
23813
  # @return [Boolean]
23638
23814
  attr_accessor :deletion_protection
23639
23815
  alias_method :deletion_protection?, :deletion_protection
23640
23816
 
23641
23817
  # An optional text description for the instances that are created from this
23642
- # instance template.
23818
+ # machine image.
23643
23819
  # Corresponds to the JSON property `description`
23644
23820
  # @return [String]
23645
23821
  attr_accessor :description
23646
23822
 
23647
23823
  # An array of disks that are associated with the instances that are created from
23648
- # this template.
23824
+ # this machine image.
23649
23825
  # Corresponds to the JSON property `disks`
23650
23826
  # @return [Array<Google::Apis::ComputeAlpha::SavedAttachedDisk>]
23651
23827
  attr_accessor :disks
23652
23828
 
23653
23829
  # A list of guest accelerator cards' type and count to use for instances created
23654
- # from the instance template.
23830
+ # from the machine image.
23655
23831
  # Corresponds to the JSON property `guestAccelerators`
23656
23832
  # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
23657
23833
  attr_accessor :guest_accelerators
23658
23834
 
23659
- # Labels to apply to instances that are created from this template.
23835
+ # Labels to apply to instances that are created from this machine image.
23660
23836
  # Corresponds to the JSON property `labels`
23661
23837
  # @return [Hash<String,String>]
23662
23838
  attr_accessor :labels
23663
23839
 
23664
- # The machine type to use for instances that are created from this template.
23840
+ # The machine type to use for instances that are created from this machine image.
23665
23841
  # Corresponds to the JSON property `machineType`
23666
23842
  # @return [String]
23667
23843
  attr_accessor :machine_type
@@ -23692,7 +23868,8 @@ module Google
23692
23868
 
23693
23869
  # A list of service accounts with specified scopes. Access tokens for these
23694
23870
  # service accounts are available to the instances that are created from this
23695
- # template. Use metadata queries to obtain the access tokens for these instances.
23871
+ # machine image. Use metadata queries to obtain the access tokens for these
23872
+ # instances.
23696
23873
  # Corresponds to the JSON property `serviceAccounts`
23697
23874
  # @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
23698
23875
  attr_accessor :service_accounts
@@ -24653,7 +24830,9 @@ module Google
24653
24830
  # @return [String]
24654
24831
  attr_accessor :description
24655
24832
 
24656
- # Whether to enable flow logging for this subnetwork.
24833
+ # Whether to enable flow logging for this subnetwork. If this field is not
24834
+ # explicitly set, it will not appear in get listings. If not set the default
24835
+ # behavior is to disable flow logging.
24657
24836
  # Corresponds to the JSON property `enableFlowLogs`
24658
24837
  # @return [Boolean]
24659
24838
  attr_accessor :enable_flow_logs