google-api-client 0.9 → 0.9.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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +5 -0
  4. data/README.md +1 -1
  5. data/api_names.yaml +1 -1
  6. data/api_names_out.yaml +14 -8
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
  9. data/generated/google/apis/androidpublisher_v2/representations.rb +2 -2
  10. data/generated/google/apis/androidpublisher_v2/service.rb +4 -4
  11. data/generated/google/apis/appstate_v1.rb +1 -1
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/books_v1.rb +1 -1
  14. data/generated/google/apis/books_v1/classes.rb +50 -0
  15. data/generated/google/apis/books_v1/representations.rb +8 -0
  16. data/generated/google/apis/books_v1/service.rb +16 -4
  17. data/generated/google/apis/calendar_v3.rb +1 -1
  18. data/generated/google/apis/compute_beta.rb +1 -1
  19. data/generated/google/apis/compute_beta/classes.rb +141 -93
  20. data/generated/google/apis/compute_beta/representations.rb +1 -0
  21. data/generated/google/apis/compute_beta/service.rb +65 -58
  22. data/generated/google/apis/compute_v1.rb +1 -1
  23. data/generated/google/apis/compute_v1/classes.rb +83 -55
  24. data/generated/google/apis/compute_v1/service.rb +59 -52
  25. data/generated/google/apis/content_v2.rb +1 -1
  26. data/generated/google/apis/content_v2/classes.rb +1 -1
  27. data/generated/google/apis/drive_v2.rb +1 -1
  28. data/generated/google/apis/drive_v3.rb +1 -1
  29. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  30. data/generated/google/apis/games_management_v1management.rb +1 -1
  31. data/generated/google/apis/games_v1.rb +1 -1
  32. data/generated/google/apis/genomics_v1.rb +1 -1
  33. data/generated/google/apis/plus_domains_v1.rb +1 -1
  34. data/generated/google/apis/plus_v1.rb +1 -1
  35. data/generated/google/apis/youtube_v3.rb +1 -1
  36. data/generated/google/apis/youtube_v3/classes.rb +9 -61
  37. data/generated/google/apis/youtube_v3/representations.rb +1 -26
  38. data/lib/google/apis/core/upload.rb +1 -0
  39. data/lib/google/apis/version.rb +1 -1
  40. data/samples/{Gemfile → cli/Gemfile} +1 -1
  41. data/samples/{README.md → cli/README.md} +0 -0
  42. data/samples/{google-api-samples → cli/google-api-samples} +0 -0
  43. data/samples/{lib → cli/lib}/base_cli.rb +0 -0
  44. data/samples/{lib → cli/lib}/samples/analytics.rb +0 -0
  45. data/samples/{lib → cli/lib}/samples/calendar.rb +0 -0
  46. data/samples/{lib → cli/lib}/samples/drive.rb +0 -0
  47. data/samples/{lib → cli/lib}/samples/gmail.rb +0 -0
  48. data/samples/{lib → cli/lib}/samples/pubsub.rb +0 -0
  49. data/samples/{lib → cli/lib}/samples/translate.rb +0 -0
  50. data/samples/{lib → cli/lib}/samples/you_tube.rb +0 -0
  51. data/samples/web/Gemfile +7 -0
  52. data/samples/web/README.md +44 -0
  53. data/samples/web/app.rb +120 -0
  54. data/samples/web/views/calendar.erb +34 -0
  55. data/samples/web/views/drive.erb +33 -0
  56. data/samples/web/views/home.erb +35 -0
  57. data/samples/web/views/layout.erb +40 -0
  58. data/spec/google/api_client/client_secrets_spec.rb +300 -1
  59. metadata +20 -13
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20151206'
28
+ REVISION = '20160104'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20160107'
28
+ REVISION = '20160112'
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'
@@ -955,15 +955,17 @@ module Google
955
955
  # @return [String]
956
956
  attr_accessor :group
957
957
 
958
- # The max RPS of the group. Can be used with either balancing mode, but required
959
- # if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
958
+ # The max requests per second (RPS) of the group. Can be used with either
959
+ # balancing mode, but required if RATE mode. For RATE mode, either maxRate or
960
+ # maxRatePerInstance must be set.
960
961
  # Corresponds to the JSON property `maxRate`
961
962
  # @return [Fixnum]
962
963
  attr_accessor :max_rate
963
964
 
964
- # The max RPS that a single backed instance can handle. This is used to
965
- # calculate the capacity of the group. Can be used in either balancing mode. For
966
- # RATE mode, either maxRate or maxRatePerInstance must be set.
965
+ # The max requests per second (RPS) that a single backed instance can handle.
966
+ # This is used to calculate the capacity of the group. Can be used in either
967
+ # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
968
+ # set.
967
969
  # Corresponds to the JSON property `maxRatePerInstance`
968
970
  # @return [Float]
969
971
  attr_accessor :max_rate_per_instance
@@ -991,7 +993,7 @@ module Google
991
993
  end
992
994
 
993
995
  # A BackendService resource. This resource defines a group of backend virtual
994
- # machines together with their serving capacity.
996
+ # machines and their serving capacity.
995
997
  class BackendService
996
998
  include Google::Apis::Core::Hashable
997
999
 
@@ -1048,7 +1050,7 @@ module Google
1048
1050
  # @return [String]
1049
1051
  attr_accessor :name
1050
1052
 
1051
- # Deprecated in favor of port name. The TCP port to connect on the backend. The
1053
+ # Deprecated in favor of portName. The TCP port to connect on the backend. The
1052
1054
  # default value is 80.
1053
1055
  # Corresponds to the JSON property `port`
1054
1056
  # @return [Fixnum]
@@ -1968,9 +1970,8 @@ module Google
1968
1970
  # @return [String]
1969
1971
  attr_accessor :name
1970
1972
 
1971
- # URL of the network resource for this firewall rule. This field is required for
1972
- # creating an instance but optional when creating a firewall rule. If not
1973
- # specified when creating a firewall rule, the default network is used:
1973
+ # URL of the network resource for this firewall rule. If not specified when
1974
+ # creating a firewall rule, the default network is used:
1974
1975
  # global/networks/default
1975
1976
  # If you choose to specify this property, you can specify the network as a full
1976
1977
  # or partial URL. For example, the following are all valid URLs:
@@ -2188,7 +2189,9 @@ module Google
2188
2189
  # The URL of the target resource to receive the matched traffic. For regional
2189
2190
  # forwarding rules, this target must live in the same region as the forwarding
2190
2191
  # rule. For global forwarding rules, this target must be a global
2191
- # TargetHttpProxy or TargetHttpsProxy resource.
2192
+ # TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of
2193
+ # a type appropriate to the target object. For example, TargetHttpProxy requires
2194
+ # HTTP traffic, and TargetHttpsProxy requires HTTPS traffic.
2192
2195
  # Corresponds to the JSON property `target`
2193
2196
  # @return [String]
2194
2197
  attr_accessor :target
@@ -3035,8 +3038,8 @@ module Google
3035
3038
  # @return [String]
3036
3039
  attr_accessor :creation_timestamp
3037
3040
 
3038
- # An optional textual description of the resource; provided by the client when
3039
- # the resource is created.
3041
+ # An optional description of this resource. Provide this property when you
3042
+ # create the resource.
3040
3043
  # Corresponds to the JSON property `description`
3041
3044
  # @return [String]
3042
3045
  attr_accessor :description
@@ -3047,8 +3050,8 @@ module Google
3047
3050
  # @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
3048
3051
  attr_accessor :disks
3049
3052
 
3050
- # [Output Only] Unique identifier for the resource. This identifier is defined
3051
- # by the server.
3053
+ # [Output Only] The unique identifier for the resource. This identifier is
3054
+ # defined by the server.
3052
3055
  # Corresponds to the JSON property `id`
3053
3056
  # @return [String]
3054
3057
  attr_accessor :id
@@ -3097,12 +3100,12 @@ module Google
3097
3100
  # @return [Google::Apis::ComputeBeta::Metadata]
3098
3101
  attr_accessor :metadata
3099
3102
 
3100
- # Name of the resource; provided by the client when the resource is created. The
3101
- # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
3102
- # name must be 1-63 characters long and match the regular expression [a-z]([-a-
3103
- # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
3104
- # and all following characters must be a dash, lowercase letter, or digit,
3105
- # except the last character, which cannot be a dash.
3103
+ # The name of the resource, provided by the client when initially creating the
3104
+ # resource. The resource name must be 1-63 characters long, and comply with
3105
+ # RFC1035. Specifically, the name must be 1-63 characters long and match the
3106
+ # regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character
3107
+ # must be a lowercase letter, and all following characters must be a dash,
3108
+ # lowercase letter, or digit, except the last character, which cannot be a dash.
3106
3109
  # Corresponds to the JSON property `name`
3107
3110
  # @return [String]
3108
3111
  attr_accessor :name
@@ -3119,7 +3122,7 @@ module Google
3119
3122
  # @return [Google::Apis::ComputeBeta::Scheduling]
3120
3123
  attr_accessor :scheduling
3121
3124
 
3122
- # [Output Only] Server defined URL for this resource.
3125
+ # [Output Only] Server-defined URL for this resource.
3123
3126
  # Corresponds to the JSON property `selfLink`
3124
3127
  # @return [String]
3125
3128
  attr_accessor :self_link
@@ -3203,12 +3206,16 @@ module Google
3203
3206
  # @return [String]
3204
3207
  attr_accessor :kind
3205
3208
 
3206
- # [Output Only] A token used to continue a truncated list request.
3209
+ # [Output Only] This token allows you to get the next page of results for list
3210
+ # requests. If the number of results is larger than maxResults, use the
3211
+ # nextPageToken as a value for the query parameter pageToken in the next list
3212
+ # request. Subsequent list requests will have their own nextPageToken to
3213
+ # continue paging through the results.
3207
3214
  # Corresponds to the JSON property `nextPageToken`
3208
3215
  # @return [String]
3209
3216
  attr_accessor :next_page_token
3210
3217
 
3211
- # [Output Only] Server defined URL for this resource.
3218
+ # [Output Only] Server-defined URL for this resource.
3212
3219
  # Corresponds to the JSON property `selfLink`
3213
3220
  # @return [String]
3214
3221
  attr_accessor :self_link
@@ -3293,6 +3300,12 @@ module Google
3293
3300
  # @return [Fixnum]
3294
3301
  attr_accessor :size
3295
3302
 
3303
+ # [Output Only] The URL of the subnetwork to which all instances in the instance
3304
+ # group belong.
3305
+ # Corresponds to the JSON property `subnetwork`
3306
+ # @return [String]
3307
+ attr_accessor :subnetwork
3308
+
3296
3309
  # [Output Only] The URL of the zone where the instance group is located.
3297
3310
  # Corresponds to the JSON property `zone`
3298
3311
  # @return [String]
@@ -3314,6 +3327,7 @@ module Google
3314
3327
  @network = args[:network] unless args[:network].nil?
3315
3328
  @self_link = args[:self_link] unless args[:self_link].nil?
3316
3329
  @size = args[:size] unless args[:size].nil?
3330
+ @subnetwork = args[:subnetwork] unless args[:subnetwork].nil?
3317
3331
  @zone = args[:zone] unless args[:zone].nil?
3318
3332
  end
3319
3333
  end
@@ -3558,7 +3572,9 @@ module Google
3558
3572
  attr_accessor :abandoning
3559
3573
 
3560
3574
  # [Output Only] The number of instances in the managed instance group that are
3561
- # scheduled to be created or are currently being created.
3575
+ # scheduled to be created or are currently being created. If the group fails to
3576
+ # create one of these instances, it tries again until it creates the instance
3577
+ # successfully.
3562
3578
  # Corresponds to the JSON property `creating`
3563
3579
  # @return [Fixnum]
3564
3580
  attr_accessor :creating
@@ -4233,12 +4249,16 @@ module Google
4233
4249
  # @return [String]
4234
4250
  attr_accessor :kind
4235
4251
 
4236
- # [Output Only] A token used to continue a truncated list request.
4252
+ # [Output Only] This token allows you to get the next page of results for list
4253
+ # requests. If the number of results is larger than maxResults, use the
4254
+ # nextPageToken as a value for the query parameter pageToken in the next list
4255
+ # request. Subsequent list requests will have their own nextPageToken to
4256
+ # continue paging through the results.
4237
4257
  # Corresponds to the JSON property `nextPageToken`
4238
4258
  # @return [String]
4239
4259
  attr_accessor :next_page_token
4240
4260
 
4241
- # [Output Only] Server defined URL for this resource.
4261
+ # [Output Only] Server-defined URL for this resource.
4242
4262
  # Corresponds to the JSON property `selfLink`
4243
4263
  # @return [String]
4244
4264
  attr_accessor :self_link
@@ -4963,7 +4983,11 @@ module Google
4963
4983
  # for the instance. Possible values:
4964
4984
  # - NONE The instance is running, and the managed instance group does not have
4965
4985
  # any scheduled actions for this instance.
4966
- # - CREATING The managed instance group is creating this instance.
4986
+ # - CREATING The managed instance group is creating this instance. If the group
4987
+ # fails to create this instance, it will try again until it is successful.
4988
+ # - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create
4989
+ # this instance only once. If the group fails to create this instance, it does
4990
+ # not try again and the group's target_size value is decreased.
4967
4991
  # - RECREATING The managed instance group is recreating this instance.
4968
4992
  # - DELETING The managed instance group is permanently deleting this instance.
4969
4993
  # - ABANDONING The managed instance group is abandoning this instance. The
@@ -5191,8 +5215,8 @@ module Google
5191
5215
  # @return [String]
5192
5216
  attr_accessor :i_pv4_range
5193
5217
 
5194
- # When set to true, the subnetwork is created in "auto subnet mode". When set to
5195
- # false, the subnetwork is in "custom subnet mode".
5218
+ # When set to true, the network is created in "auto subnet mode". When set to
5219
+ # false, the network is in "custom subnet mode".
5196
5220
  # In "auto subnet mode", a newly created network is assigned the default CIDR of
5197
5221
  # 10.128.0.0/9 and it automatically creates one subnetwork per region.
5198
5222
  # Corresponds to the JSON property `autoCreateSubnetworks`
@@ -5306,15 +5330,15 @@ module Google
5306
5330
  # @return [String]
5307
5331
  attr_accessor :network_ip
5308
5332
 
5309
- # URL of the subnetwork resource for this instance. This should not be provided
5310
- # if the network resource is in legacy mode. If the network is in auto subnet
5311
- # mode, providing the subnetwork is optional. If the network is in custom subnet
5312
- # mode then the field should be specified. If you specify this property, you can
5313
- # specify the subnetwork as a full or partial URL. For example, the following
5314
- # are all valid URLs:
5333
+ # The URL of the Subnetwork resource for this instance. If the network resource
5334
+ # is in legacy mode, do not provide this property. If the network is in auto
5335
+ # subnet mode, providing the subnetwork is optional. If the network is in custom
5336
+ # subnet mode, then this field should be specified. If you specify this property,
5337
+ # you can specify the subnetwork as a full or partial URL. For example, the
5338
+ # following are all valid URLs:
5315
5339
  # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/
5316
5340
  # subnetworks/subnetwork
5317
- # - projects/project/zones/zone/networks/network
5341
+ # - zones/zone/subnetworks/subnetwork
5318
5342
  # Corresponds to the JSON property `subnetwork`
5319
5343
  # @return [String]
5320
5344
  attr_accessor :subnetwork
@@ -5421,7 +5445,8 @@ module Google
5421
5445
  attr_accessor :http_error_message
5422
5446
 
5423
5447
  # [Output Only] If the operation fails, this field contains the HTTP error
5424
- # message that was returned. For example, a 404 means the resource was not found.
5448
+ # status code that was returned. For example, a 404 means the resource was not
5449
+ # found.
5425
5450
  # Corresponds to the JSON property `httpErrorStatusCode`
5426
5451
  # @return [Fixnum]
5427
5452
  attr_accessor :http_error_status_code
@@ -5456,14 +5481,14 @@ module Google
5456
5481
 
5457
5482
  # [Output Only] An optional progress indicator that ranges from 0 to 100. There
5458
5483
  # is no requirement that this be linear or support any granularity of operations.
5459
- # This should not be used to guess at when the operation will be complete. This
5484
+ # This should not be used to guess when the operation will be complete. This
5460
5485
  # number should monotonically increase as the operation progresses.
5461
5486
  # Corresponds to the JSON property `progress`
5462
5487
  # @return [Fixnum]
5463
5488
  attr_accessor :progress
5464
5489
 
5465
- # [Output Only] URL of the region where the operation resides. Only applicable
5466
- # for regional resources.
5490
+ # [Output Only] URL of the region where the operation resides. Only available
5491
+ # when performing regional operations.
5467
5492
  # Corresponds to the JSON property `region`
5468
5493
  # @return [String]
5469
5494
  attr_accessor :region
@@ -5513,7 +5538,8 @@ module Google
5513
5538
  # @return [Array<Google::Apis::ComputeBeta::Operation::Warning>]
5514
5539
  attr_accessor :warnings
5515
5540
 
5516
- # [Output Only] URL of the zone where the operation resides.
5541
+ # [Output Only] URL of the zone where the operation resides. Only available when
5542
+ # performing per-zone operations.
5517
5543
  # Corresponds to the JSON property `zone`
5518
5544
  # @return [String]
5519
5545
  attr_accessor :zone
@@ -5861,8 +5887,14 @@ module Google
5861
5887
  class PathMatcher
5862
5888
  include Google::Apis::Core::Hashable
5863
5889
 
5864
- # The URL to the BackendService resource. This will be used if none of the
5865
- # pathRules defined by this PathMatcher is met by the URL's path portion.
5890
+ # The full or partial URL to the BackendService resource. This will be used if
5891
+ # none of the pathRules defined by this PathMatcher is matched by the URL's path
5892
+ # portion. For example, the following are all valid URLs to a BackendService
5893
+ # resource:
5894
+ # - https://www.googleapis.com/compute/v1/projects/project/global/
5895
+ # backendServices/backendService
5896
+ # - compute/v1/projects/project/global/backendServices/backendService
5897
+ # - global/backendServices/backendService
5866
5898
  # Corresponds to the JSON property `defaultService`
5867
5899
  # @return [String]
5868
5900
  attr_accessor :default_service
@@ -6178,7 +6210,7 @@ module Google
6178
6210
 
6179
6211
  # The route resource. A Route is a rule that specifies how certain packets
6180
6212
  # should be handled by the virtual network. Routes are associated with instances
6181
- # by tag and the set of Routes for a particular instance is called its routing
6213
+ # by tags and the set of Routes for a particular instance is called its routing
6182
6214
  # table. For each packet leaving a instance, the system searches that instance's
6183
6215
  # routing table for a single best matching Route. Routes match packets by
6184
6216
  # destination IP address, preferring smaller or more specific ranges over larger
@@ -6234,15 +6266,15 @@ module Google
6234
6266
  # @return [String]
6235
6267
  attr_accessor :network
6236
6268
 
6237
- # The URL to a gateway that should handle matching packets. Currently, this is
6238
- # only the internet gateway: projects/<project-id>/global/gateways/default-
6239
- # internet-gateway
6269
+ # The URL to a gateway that should handle matching packets. You can only specify
6270
+ # the internet gateway using a full or partial valid URL: projects/<project-id>/
6271
+ # global/gateways/default-internet-gateway
6240
6272
  # Corresponds to the JSON property `nextHopGateway`
6241
6273
  # @return [String]
6242
6274
  attr_accessor :next_hop_gateway
6243
6275
 
6244
- # The fully-qualified URL to an instance that should handle matching packets.
6245
- # For example:
6276
+ # The URL to an instance that should handle matching packets. You can specify
6277
+ # this as a full or partial URL. For example:
6246
6278
  # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
6247
6279
  # Corresponds to the JSON property `nextHopInstance`
6248
6280
  # @return [String]
@@ -6263,9 +6295,10 @@ module Google
6263
6295
  # @return [String]
6264
6296
  attr_accessor :next_hop_vpn_tunnel
6265
6297
 
6266
- # Breaks ties between Routes of equal specificity. Routes with smaller values
6267
- # win when tied with routes with larger values. Default value is 1000. A valid
6268
- # range is between 0 and 65535.
6298
+ # The priority of this route. Priority is used to break ties in cases where
6299
+ # there is more than one matching route of equal prefix length. In the case of
6300
+ # two routes with equal prefix length, the one with the lowest-numbered priority
6301
+ # value wins. Default value is 1000. Valid range is 0 through 65535.
6269
6302
  # Corresponds to the JSON property `priority`
6270
6303
  # @return [Fixnum]
6271
6304
  attr_accessor :priority
@@ -6384,7 +6417,7 @@ module Google
6384
6417
  # @return [String]
6385
6418
  attr_accessor :id
6386
6419
 
6387
- # A list of Route resources.
6420
+ # [Output Only] A list of Route resources.
6388
6421
  # Corresponds to the JSON property `items`
6389
6422
  # @return [Array<Google::Apis::ComputeBeta::Route>]
6390
6423
  attr_accessor :items
@@ -6476,7 +6509,7 @@ module Google
6476
6509
  # @return [String]
6477
6510
  attr_accessor :kind
6478
6511
 
6479
- # [Output Only] Server defined URL for the resource.
6512
+ # [Output Only] Server-defined URL for the resource.
6480
6513
  # Corresponds to the JSON property `selfLink`
6481
6514
  # @return [String]
6482
6515
  attr_accessor :self_link
@@ -6575,7 +6608,7 @@ module Google
6575
6608
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
6576
6609
  attr_accessor :snapshot_encryption_key
6577
6610
 
6578
- # The source disk used to create this snapshot.
6611
+ # [Output Only] The source disk used to create this snapshot.
6579
6612
  # Corresponds to the JSON property `sourceDisk`
6580
6613
  # @return [String]
6581
6614
  attr_accessor :source_disk
@@ -6644,7 +6677,7 @@ module Google
6644
6677
  # @return [String]
6645
6678
  attr_accessor :id
6646
6679
 
6647
- # A list of Snapshot resources.
6680
+ # [Output Only] A list of Snapshot resources.
6648
6681
  # Corresponds to the JSON property `items`
6649
6682
  # @return [Array<Google::Apis::ComputeBeta::Snapshot>]
6650
6683
  attr_accessor :items
@@ -6683,8 +6716,8 @@ module Google
6683
6716
  end
6684
6717
 
6685
6718
  # An SslCertificate resource. This resource provides a mechanism to upload an
6686
- # SSL key and certificate to global HTTPS loadbalancer to serve secure
6687
- # connections.
6719
+ # SSL key and certificate to the load balancer to serve secure connections from
6720
+ # the user.
6688
6721
  class SslCertificate
6689
6722
  include Google::Apis::Core::Hashable
6690
6723
 
@@ -6812,47 +6845,50 @@ module Google
6812
6845
  # @return [String]
6813
6846
  attr_accessor :creation_timestamp
6814
6847
 
6815
- # An optional textual description of the resource; provided by the client when
6816
- # the resource is created.
6848
+ # An optional description of this resource. Provide this property when you
6849
+ # create the resource.
6817
6850
  # Corresponds to the JSON property `description`
6818
6851
  # @return [String]
6819
6852
  attr_accessor :description
6820
6853
 
6821
- # [Output Only] Gateway address for default routes to addresses outside this
6822
- # Subnetwork.
6854
+ # [Output Only] The gateway address for default routes to reach destination
6855
+ # addresses outside this subnetwork.
6823
6856
  # Corresponds to the JSON property `gatewayAddress`
6824
6857
  # @return [String]
6825
6858
  attr_accessor :gateway_address
6826
6859
 
6827
- # [Output Only] Unique identifier for the resource; defined by the server.
6860
+ # [Output Only] The unique identifier for the resource. This identifier is
6861
+ # defined by the server.
6828
6862
  # Corresponds to the JSON property `id`
6829
6863
  # @return [String]
6830
6864
  attr_accessor :id
6831
6865
 
6832
- # The range of internal addresses that are owned by this Subnetwork; provided by
6833
- # the client when the Subnetwork is created.
6866
+ # The range of internal addresses that are owned by this subnetwork. Provide
6867
+ # this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
6868
+ # 168.0.0/16. Ranges must be unique and non-overlapping within a network.
6834
6869
  # Corresponds to the JSON property `ipCidrRange`
6835
6870
  # @return [String]
6836
6871
  attr_accessor :ip_cidr_range
6837
6872
 
6838
- # Type of the resource.
6873
+ # [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork
6874
+ # resources.
6839
6875
  # Corresponds to the JSON property `kind`
6840
6876
  # @return [String]
6841
6877
  attr_accessor :kind
6842
6878
 
6843
- # Name of the resource. Provided by the client when the resource is created. The
6844
- # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
6845
- # name must be 1-63 characters long and match the regular expression [a-z]([-a-
6846
- # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
6847
- # and all following characters must be a dash, lowercase letter, or digit,
6848
- # except the last character, which cannot be a dash.
6879
+ # The name of the resource, provided by the client when initially creating the
6880
+ # resource. The name must be 1-63 characters long, and comply with RFC1035.
6881
+ # Specifically, the name must be 1-63 characters long and match the regular
6882
+ # expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be
6883
+ # a lowercase letter, and all following characters must be a dash, lowercase
6884
+ # letter, or digit, except the last character, which cannot be a dash.
6849
6885
  # Corresponds to the JSON property `name`
6850
6886
  # @return [String]
6851
6887
  attr_accessor :name
6852
6888
 
6853
- # URL of the network to which this Subnetwork belongs; provided by the client
6854
- # when the Subnetwork is created. Only networks that are in the distributed mode
6855
- # can have Subnetworks.
6889
+ # The URL of the network to which this subnetwork belongs, provided by the
6890
+ # client when initially creating the subnetwork. Only networks that are in the
6891
+ # distributed mode can have subnetworks.
6856
6892
  # Corresponds to the JSON property `network`
6857
6893
  # @return [String]
6858
6894
  attr_accessor :network
@@ -6890,22 +6926,28 @@ module Google
6890
6926
  class SubnetworkAggregatedList
6891
6927
  include Google::Apis::Core::Hashable
6892
6928
 
6893
- # [Output Only] Unique identifier for the resource; defined by the server.
6929
+ # [Output Only] The unique identifier for the resource. This identifier is
6930
+ # defined by the server.
6894
6931
  # Corresponds to the JSON property `id`
6895
6932
  # @return [String]
6896
6933
  attr_accessor :id
6897
6934
 
6898
- # A map of scoped Subnetwork lists.
6935
+ # [Output] A map of scoped Subnetwork lists.
6899
6936
  # Corresponds to the JSON property `items`
6900
6937
  # @return [Hash<String,Google::Apis::ComputeBeta::SubnetworksScopedList>]
6901
6938
  attr_accessor :items
6902
6939
 
6903
- # Type of resource.
6940
+ # [Output Only] Type of resource. Always compute#subnetworkAggregatedList for
6941
+ # aggregated lists of subnetworks.
6904
6942
  # Corresponds to the JSON property `kind`
6905
6943
  # @return [String]
6906
6944
  attr_accessor :kind
6907
6945
 
6908
- # [Output Only] A token used to continue a truncated list request.
6946
+ # [Output Only] This token allows you to get the next page of results for list
6947
+ # requests. If the number of results is larger than maxResults, use the
6948
+ # nextPageToken as a value for the query parameter pageToken in the next list
6949
+ # request. Subsequent list requests will have their own nextPageToken to
6950
+ # continue paging through the results.
6909
6951
  # Corresponds to the JSON property `nextPageToken`
6910
6952
  # @return [String]
6911
6953
  attr_accessor :next_page_token
@@ -6933,7 +6975,8 @@ module Google
6933
6975
  class SubnetworkList
6934
6976
  include Google::Apis::Core::Hashable
6935
6977
 
6936
- # [Output Only] Unique identifier for the resource. Defined by the server.
6978
+ # [Output Only] The unique identifier for the resource. This identifier is
6979
+ # defined by the server.
6937
6980
  # Corresponds to the JSON property `id`
6938
6981
  # @return [String]
6939
6982
  attr_accessor :id
@@ -6943,12 +6986,17 @@ module Google
6943
6986
  # @return [Array<Google::Apis::ComputeBeta::Subnetwork>]
6944
6987
  attr_accessor :items
6945
6988
 
6946
- # Type of resource.
6989
+ # [Output Only] Type of resource. Always compute#subnetworkList for lists of
6990
+ # subnetworks.
6947
6991
  # Corresponds to the JSON property `kind`
6948
6992
  # @return [String]
6949
6993
  attr_accessor :kind
6950
6994
 
6951
- # [Output Only] A token used to continue a truncated list request.
6995
+ # [Output Only] This token allows you to get the next page of results for list
6996
+ # requests. If the number of results is larger than maxResults, use the
6997
+ # nextPageToken as a value for the query parameter pageToken in the next list
6998
+ # request. Subsequent list requests will have their own nextPageToken to
6999
+ # continue paging through the results.
6952
7000
  # Corresponds to the JSON property `nextPageToken`
6953
7001
  # @return [String]
6954
7002
  attr_accessor :next_page_token
@@ -6976,13 +7024,12 @@ module Google
6976
7024
  class SubnetworksScopedList
6977
7025
  include Google::Apis::Core::Hashable
6978
7026
 
6979
- # List of Subnetworks contained in this scope.
7027
+ # List of subnetworks contained in this scope.
6980
7028
  # Corresponds to the JSON property `subnetworks`
6981
7029
  # @return [Array<Google::Apis::ComputeBeta::Subnetwork>]
6982
7030
  attr_accessor :subnetworks
6983
7031
 
6984
- # Informational warning which replaces the list of addresses when the list is
6985
- # empty.
7032
+ # An informational warning that appears when the list of addresses is empty.
6986
7033
  # Corresponds to the JSON property `warning`
6987
7034
  # @return [Google::Apis::ComputeBeta::SubnetworksScopedList::Warning]
6988
7035
  attr_accessor :warning
@@ -6997,8 +7044,7 @@ module Google
6997
7044
  @warning = args[:warning] unless args[:warning].nil?
6998
7045
  end
6999
7046
 
7000
- # Informational warning which replaces the list of addresses when the list is
7001
- # empty.
7047
+ # An informational warning that appears when the list of addresses is empty.
7002
7048
  class Warning
7003
7049
  include Google::Apis::Core::Hashable
7004
7050
 
@@ -7269,8 +7315,9 @@ module Google
7269
7315
  # @return [String]
7270
7316
  attr_accessor :self_link
7271
7317
 
7272
- # URLs to SslCertificate resources that are used to authenticate connections to
7273
- # Backends. Currently exactly one SSL certificate must be specified.
7318
+ # URLs to SslCertificate resources that are used to authenticate connections
7319
+ # between users and the load balancer. Currently exactly one SSL certificate
7320
+ # must be specified.
7274
7321
  # Corresponds to the JSON property `sslCertificates`
7275
7322
  # @return [Array<String>]
7276
7323
  attr_accessor :ssl_certificates
@@ -8636,8 +8683,9 @@ module Google
8636
8683
 
8637
8684
  # The name of an existing bucket in Cloud Storage where the usage report object
8638
8685
  # is stored. The Google Service Account is granted write access to this bucket.
8639
- # This is just the bucket name, with no gs:// or https://storage.googleapis.com/
8640
- # in front of it.
8686
+ # This can either be the bucket name by itself, such as example-bucket, or the
8687
+ # bucket name with gs:// or https://storage.googleapis.com/ in front of it, such
8688
+ # as gs://example-bucket.
8641
8689
  # Corresponds to the JSON property `bucketName`
8642
8690
  # @return [String]
8643
8691
  attr_accessor :bucket_name
@@ -8731,7 +8779,7 @@ module Google
8731
8779
  # @return [String]
8732
8780
  attr_accessor :self_link
8733
8781
 
8734
- # Shared secret used to set the secure session between the GCE VPN gateway and
8782
+ # Shared secret used to set the secure session between the Cloud VPN gateway and
8735
8783
  # the peer VPN gateway.
8736
8784
  # Corresponds to the JSON property `sharedSecret`
8737
8785
  # @return [String]