google-api-client 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +5 -0
- data/README.md +1 -1
- data/api_names.yaml +1 -1
- data/api_names_out.yaml +14 -8
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +4 -4
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +50 -0
- data/generated/google/apis/books_v1/representations.rb +8 -0
- data/generated/google/apis/books_v1/service.rb +16 -4
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +141 -93
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +65 -58
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +83 -55
- data/generated/google/apis/compute_v1/service.rb +59 -52
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +9 -61
- data/generated/google/apis/youtube_v3/representations.rb +1 -26
- data/lib/google/apis/core/upload.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/{Gemfile → cli/Gemfile} +1 -1
- data/samples/{README.md → cli/README.md} +0 -0
- data/samples/{google-api-samples → cli/google-api-samples} +0 -0
- data/samples/{lib → cli/lib}/base_cli.rb +0 -0
- data/samples/{lib → cli/lib}/samples/analytics.rb +0 -0
- data/samples/{lib → cli/lib}/samples/calendar.rb +0 -0
- data/samples/{lib → cli/lib}/samples/drive.rb +0 -0
- data/samples/{lib → cli/lib}/samples/gmail.rb +0 -0
- data/samples/{lib → cli/lib}/samples/pubsub.rb +0 -0
- data/samples/{lib → cli/lib}/samples/translate.rb +0 -0
- data/samples/{lib → cli/lib}/samples/you_tube.rb +0 -0
- data/samples/web/Gemfile +7 -0
- data/samples/web/README.md +44 -0
- data/samples/web/app.rb +120 -0
- data/samples/web/views/calendar.erb +34 -0
- data/samples/web/views/drive.erb +33 -0
- data/samples/web/views/home.erb +35 -0
- data/samples/web/views/layout.erb +40 -0
- data/spec/google/api_client/client_secrets_spec.rb +300 -1
- metadata +20 -13
@@ -52,7 +52,7 @@ module Google
|
|
52
52
|
super('https://www.googleapis.com/', 'compute/beta/projects/')
|
53
53
|
end
|
54
54
|
|
55
|
-
# Retrieves
|
55
|
+
# Retrieves an aggregated list of addresses.
|
56
56
|
# @param [String] project
|
57
57
|
# Project ID for this request.
|
58
58
|
# @param [String] filter
|
@@ -254,7 +254,7 @@ module Google
|
|
254
254
|
execute_or_queue_command(command, &block)
|
255
255
|
end
|
256
256
|
|
257
|
-
# Retrieves
|
257
|
+
# Retrieves a list of address resources contained within the specified region.
|
258
258
|
# @param [String] project
|
259
259
|
# Project ID for this request.
|
260
260
|
# @param [String] region
|
@@ -335,7 +335,7 @@ module Google
|
|
335
335
|
execute_or_queue_command(command, &block)
|
336
336
|
end
|
337
337
|
|
338
|
-
# Retrieves
|
338
|
+
# Retrieves an aggregated list of autoscalers.
|
339
339
|
# @param [String] project
|
340
340
|
# Project ID for this request.
|
341
341
|
# @param [String] filter
|
@@ -537,7 +537,7 @@ module Google
|
|
537
537
|
execute_or_queue_command(command, &block)
|
538
538
|
end
|
539
539
|
|
540
|
-
# Retrieves
|
540
|
+
# Retrieves a list of autoscaler resources contained within the specified zone.
|
541
541
|
# @param [String] project
|
542
542
|
# Project ID for this request.
|
543
543
|
# @param [String] zone
|
@@ -825,7 +825,9 @@ module Google
|
|
825
825
|
end
|
826
826
|
|
827
827
|
# Creates a BackendService resource in the specified project using the data
|
828
|
-
# included in the request.
|
828
|
+
# included in the request. There are several restrictions and guidelines to keep
|
829
|
+
# in mind when creating a backend service. Read Restrictions and Guidelines for
|
830
|
+
# more information.
|
829
831
|
# @param [String] project
|
830
832
|
# Project ID for this request.
|
831
833
|
# @param [Google::Apis::ComputeBeta::BackendService] backend_service_object
|
@@ -942,7 +944,9 @@ module Google
|
|
942
944
|
execute_or_queue_command(command, &block)
|
943
945
|
end
|
944
946
|
|
945
|
-
#
|
947
|
+
# Updates the entire content of the BackendService resource. There are several
|
948
|
+
# restrictions and guidelines to keep in mind when updating a backend service.
|
949
|
+
# Read Restrictions and Guidelines for more information. This method supports
|
946
950
|
# patch semantics.
|
947
951
|
# @param [String] project
|
948
952
|
# Project ID for this request.
|
@@ -984,7 +988,9 @@ module Google
|
|
984
988
|
execute_or_queue_command(command, &block)
|
985
989
|
end
|
986
990
|
|
987
|
-
#
|
991
|
+
# Updates the entire content of the BackendService resource. There are several
|
992
|
+
# restrictions and guidelines to keep in mind when updating a backend service.
|
993
|
+
# Read Restrictions and Guidelines for more information.
|
988
994
|
# @param [String] project
|
989
995
|
# Project ID for this request.
|
990
996
|
# @param [String] backend_service
|
@@ -1025,7 +1031,7 @@ module Google
|
|
1025
1031
|
execute_or_queue_command(command, &block)
|
1026
1032
|
end
|
1027
1033
|
|
1028
|
-
# Retrieves
|
1034
|
+
# Retrieves an aggregated list of disk type resources.
|
1029
1035
|
# @param [String] project
|
1030
1036
|
# Project ID for this request.
|
1031
1037
|
# @param [String] filter
|
@@ -1144,7 +1150,7 @@ module Google
|
|
1144
1150
|
execute_or_queue_command(command, &block)
|
1145
1151
|
end
|
1146
1152
|
|
1147
|
-
# Retrieves
|
1153
|
+
# Retrieves a list of disk type resources available to the specified project.
|
1148
1154
|
# @param [String] project
|
1149
1155
|
# Project ID for this request.
|
1150
1156
|
# @param [String] zone
|
@@ -1225,7 +1231,7 @@ module Google
|
|
1225
1231
|
execute_or_queue_command(command, &block)
|
1226
1232
|
end
|
1227
1233
|
|
1228
|
-
# Retrieves
|
1234
|
+
# Retrieves an aggregated list of persistent disks.
|
1229
1235
|
# @param [String] project
|
1230
1236
|
# Project ID for this request.
|
1231
1237
|
# @param [String] filter
|
@@ -1476,7 +1482,7 @@ module Google
|
|
1476
1482
|
execute_or_queue_command(command, &block)
|
1477
1483
|
end
|
1478
1484
|
|
1479
|
-
# Retrieves
|
1485
|
+
# Retrieves a list of persistent disks contained within the specified zone.
|
1480
1486
|
# @param [String] project
|
1481
1487
|
# Project ID for this request.
|
1482
1488
|
# @param [String] zone
|
@@ -1877,7 +1883,7 @@ module Google
|
|
1877
1883
|
execute_or_queue_command(command, &block)
|
1878
1884
|
end
|
1879
1885
|
|
1880
|
-
# Retrieves
|
1886
|
+
# Retrieves an aggregated list of forwarding rules.
|
1881
1887
|
# @param [String] project
|
1882
1888
|
# Project ID for this request.
|
1883
1889
|
# @param [String] filter
|
@@ -2079,7 +2085,7 @@ module Google
|
|
2079
2085
|
execute_or_queue_command(command, &block)
|
2080
2086
|
end
|
2081
2087
|
|
2082
|
-
# Retrieves
|
2088
|
+
# Retrieves a list of ForwardingRule resources available to the specified
|
2083
2089
|
# project and region.
|
2084
2090
|
# @param [String] project
|
2085
2091
|
# Project ID for this request.
|
@@ -2321,7 +2327,7 @@ module Google
|
|
2321
2327
|
execute_or_queue_command(command, &block)
|
2322
2328
|
end
|
2323
2329
|
|
2324
|
-
# Retrieves
|
2330
|
+
# Retrieves a list of global address resources.
|
2325
2331
|
# @param [String] project
|
2326
2332
|
# Project ID for this request.
|
2327
2333
|
# @param [String] filter
|
@@ -2514,7 +2520,7 @@ module Google
|
|
2514
2520
|
execute_or_queue_command(command, &block)
|
2515
2521
|
end
|
2516
2522
|
|
2517
|
-
# Retrieves
|
2523
|
+
# Retrieves a list of ForwardingRule resources available to the specified
|
2518
2524
|
# project.
|
2519
2525
|
# @param [String] project
|
2520
2526
|
# Project ID for this request.
|
@@ -2635,7 +2641,7 @@ module Google
|
|
2635
2641
|
execute_or_queue_command(command, &block)
|
2636
2642
|
end
|
2637
2643
|
|
2638
|
-
# Retrieves
|
2644
|
+
# Retrieves an aggregated list of all operations.
|
2639
2645
|
# @param [String] project
|
2640
2646
|
# Project ID for this request.
|
2641
2647
|
# @param [String] filter
|
@@ -2787,8 +2793,7 @@ module Google
|
|
2787
2793
|
execute_or_queue_command(command, &block)
|
2788
2794
|
end
|
2789
2795
|
|
2790
|
-
# Retrieves
|
2791
|
-
# project.
|
2796
|
+
# Retrieves a list of Operation resources contained within the specified project.
|
2792
2797
|
# @param [String] project
|
2793
2798
|
# Project ID for this request.
|
2794
2799
|
# @param [String] filter
|
@@ -3793,7 +3798,8 @@ module Google
|
|
3793
3798
|
end
|
3794
3799
|
|
3795
3800
|
# Deletes the specified managed instance group and all of the instances in that
|
3796
|
-
# group.
|
3801
|
+
# group. Note that the instance group must not belong to a backend service. Read
|
3802
|
+
# Deleting an instance group for more information.
|
3797
3803
|
# @param [String] project
|
3798
3804
|
# Project ID for this request.
|
3799
3805
|
# @param [String] zone
|
@@ -4337,8 +4343,8 @@ module Google
|
|
4337
4343
|
execute_or_queue_command(command, &block)
|
4338
4344
|
end
|
4339
4345
|
|
4340
|
-
# Adds a list of instances to the specified instance group.
|
4341
|
-
#
|
4346
|
+
# Adds a list of instances to the specified instance group. Read Adding
|
4347
|
+
# instances for more information.
|
4342
4348
|
# @param [String] project
|
4343
4349
|
# Project ID for this request.
|
4344
4350
|
# @param [String] zone
|
@@ -4461,7 +4467,8 @@ module Google
|
|
4461
4467
|
end
|
4462
4468
|
|
4463
4469
|
# Deletes the specified instance group. The instances in the group are not
|
4464
|
-
# deleted.
|
4470
|
+
# deleted. Note that instance group must not belong to a backend service. Read
|
4471
|
+
# Deleting an instance group for more information.
|
4465
4472
|
# @param [String] project
|
4466
4473
|
# Project ID for this request.
|
4467
4474
|
# @param [String] zone
|
@@ -4921,7 +4928,9 @@ module Google
|
|
4921
4928
|
end
|
4922
4929
|
|
4923
4930
|
# Creates an instance template in the specified project using the data that is
|
4924
|
-
# included in the request.
|
4931
|
+
# included in the request. If you are creating a new template to update an
|
4932
|
+
# existing instance group, your new instance template must use the same network
|
4933
|
+
# or, if applicable, the same subnetwork as the original template.
|
4925
4934
|
# @param [String] project
|
4926
4935
|
# Project ID for this request.
|
4927
4936
|
# @param [Google::Apis::ComputeBeta::InstanceTemplate] instance_template_object
|
@@ -5857,8 +5866,8 @@ module Google
|
|
5857
5866
|
execute_or_queue_command(command, &block)
|
5858
5867
|
end
|
5859
5868
|
|
5860
|
-
#
|
5861
|
-
#
|
5869
|
+
# Starts an instance that was stopped using the using the instances().stop
|
5870
|
+
# method. For more information, see Restart an instance.
|
5862
5871
|
# @param [String] project
|
5863
5872
|
# Project ID for this request.
|
5864
5873
|
# @param [String] zone
|
@@ -5899,12 +5908,12 @@ module Google
|
|
5899
5908
|
execute_or_queue_command(command, &block)
|
5900
5909
|
end
|
5901
5910
|
|
5902
|
-
#
|
5903
|
-
#
|
5904
|
-
#
|
5905
|
-
#
|
5906
|
-
#
|
5907
|
-
#
|
5911
|
+
# Stops a running instance, shutting it down cleanly, and allows you to restart
|
5912
|
+
# the instance at a later time. Stopped instances do not incur per-minute,
|
5913
|
+
# virtual machine usage charges while they are stopped, but any resources that
|
5914
|
+
# the virtual machine is using, such as persistent disks and static IP addresses,
|
5915
|
+
# will continue to be charged until they are deleted. For more information, see
|
5916
|
+
# Stopping an instance.
|
5908
5917
|
# @param [String] project
|
5909
5918
|
# Project ID for this request.
|
5910
5919
|
# @param [String] zone
|
@@ -5983,7 +5992,7 @@ module Google
|
|
5983
5992
|
execute_or_queue_command(command, &block)
|
5984
5993
|
end
|
5985
5994
|
|
5986
|
-
# Retrieves
|
5995
|
+
# Retrieves an aggregated list of machine type resources.
|
5987
5996
|
# @param [String] project
|
5988
5997
|
# Project ID for this request.
|
5989
5998
|
# @param [String] filter
|
@@ -6102,8 +6111,7 @@ module Google
|
|
6102
6111
|
execute_or_queue_command(command, &block)
|
6103
6112
|
end
|
6104
6113
|
|
6105
|
-
# Retrieves
|
6106
|
-
# project.
|
6114
|
+
# Retrieves a list of machine type resources available to the specified project.
|
6107
6115
|
# @param [String] project
|
6108
6116
|
# Project ID for this request.
|
6109
6117
|
# @param [String] zone
|
@@ -6572,7 +6580,7 @@ module Google
|
|
6572
6580
|
# @param [String] project
|
6573
6581
|
# Project ID for this request.
|
6574
6582
|
# @param [String] region
|
6575
|
-
# Name of the
|
6583
|
+
# Name of the region scoping this request.
|
6576
6584
|
# @param [String] operation
|
6577
6585
|
# Name of the Operations resource to return.
|
6578
6586
|
# @param [String] fields
|
@@ -6609,8 +6617,7 @@ module Google
|
|
6609
6617
|
execute_or_queue_command(command, &block)
|
6610
6618
|
end
|
6611
6619
|
|
6612
|
-
# Retrieves
|
6613
|
-
# region.
|
6620
|
+
# Retrieves a list of Operation resources contained within the specified region.
|
6614
6621
|
# @param [String] project
|
6615
6622
|
# Project ID for this request.
|
6616
6623
|
# @param [String] region
|
@@ -7353,7 +7360,7 @@ module Google
|
|
7353
7360
|
execute_or_queue_command(command, &block)
|
7354
7361
|
end
|
7355
7362
|
|
7356
|
-
# Retrieves
|
7363
|
+
# Retrieves an aggregated list of subnetworks.
|
7357
7364
|
# @param [String] project
|
7358
7365
|
# Project ID for this request.
|
7359
7366
|
# @param [String] filter
|
@@ -7431,7 +7438,7 @@ module Google
|
|
7431
7438
|
execute_or_queue_command(command, &block)
|
7432
7439
|
end
|
7433
7440
|
|
7434
|
-
# Deletes the specified
|
7441
|
+
# Deletes the specified subnetwork.
|
7435
7442
|
# @param [String] project
|
7436
7443
|
# Project ID for this request.
|
7437
7444
|
# @param [String] region
|
@@ -7472,7 +7479,7 @@ module Google
|
|
7472
7479
|
execute_or_queue_command(command, &block)
|
7473
7480
|
end
|
7474
7481
|
|
7475
|
-
# Returns the specified
|
7482
|
+
# Returns the specified subnetwork.
|
7476
7483
|
# @param [String] project
|
7477
7484
|
# Project ID for this request.
|
7478
7485
|
# @param [String] region
|
@@ -7513,8 +7520,8 @@ module Google
|
|
7513
7520
|
execute_or_queue_command(command, &block)
|
7514
7521
|
end
|
7515
7522
|
|
7516
|
-
# Creates a
|
7517
|
-
#
|
7523
|
+
# Creates a subnetwork in the specified project using the data included in the
|
7524
|
+
# request.
|
7518
7525
|
# @param [String] project
|
7519
7526
|
# Project ID for this request.
|
7520
7527
|
# @param [String] region
|
@@ -7555,7 +7562,7 @@ module Google
|
|
7555
7562
|
execute_or_queue_command(command, &block)
|
7556
7563
|
end
|
7557
7564
|
|
7558
|
-
# Retrieves
|
7565
|
+
# Retrieves a list of subnetworks available to the specified project.
|
7559
7566
|
# @param [String] project
|
7560
7567
|
# Project ID for this request.
|
7561
7568
|
# @param [String] region
|
@@ -8147,7 +8154,7 @@ module Google
|
|
8147
8154
|
execute_or_queue_command(command, &block)
|
8148
8155
|
end
|
8149
8156
|
|
8150
|
-
# Retrieves
|
8157
|
+
# Retrieves an aggregated list of target instances.
|
8151
8158
|
# @param [String] project
|
8152
8159
|
# Project ID for this request.
|
8153
8160
|
# @param [String] filter
|
@@ -8349,7 +8356,7 @@ module Google
|
|
8349
8356
|
execute_or_queue_command(command, &block)
|
8350
8357
|
end
|
8351
8358
|
|
8352
|
-
# Retrieves
|
8359
|
+
# Retrieves a list of TargetInstance resources available to the specified
|
8353
8360
|
# project and zone.
|
8354
8361
|
# @param [String] project
|
8355
8362
|
# Project ID for this request.
|
@@ -8517,7 +8524,7 @@ module Google
|
|
8517
8524
|
execute_or_queue_command(command, &block)
|
8518
8525
|
end
|
8519
8526
|
|
8520
|
-
# Retrieves
|
8527
|
+
# Retrieves an aggregated list of target pools.
|
8521
8528
|
# @param [String] project
|
8522
8529
|
# Project ID for this request.
|
8523
8530
|
# @param [String] filter
|
@@ -8678,7 +8685,7 @@ module Google
|
|
8678
8685
|
end
|
8679
8686
|
|
8680
8687
|
# Gets the most recent health check results for each IP for the given instance
|
8681
|
-
# that is referenced by given TargetPool.
|
8688
|
+
# that is referenced by the given TargetPool.
|
8682
8689
|
# @param [String] project
|
8683
8690
|
# @param [String] region
|
8684
8691
|
# Name of the region scoping this request.
|
@@ -8763,7 +8770,7 @@ module Google
|
|
8763
8770
|
execute_or_queue_command(command, &block)
|
8764
8771
|
end
|
8765
8772
|
|
8766
|
-
# Retrieves
|
8773
|
+
# Retrieves a list of TargetPool resources available to the specified project
|
8767
8774
|
# and region.
|
8768
8775
|
# @param [String] project
|
8769
8776
|
# Project ID for this request.
|
@@ -8978,7 +8985,7 @@ module Google
|
|
8978
8985
|
execute_or_queue_command(command, &block)
|
8979
8986
|
end
|
8980
8987
|
|
8981
|
-
# Retrieves
|
8988
|
+
# Retrieves an aggregated list of target VPN gateways .
|
8982
8989
|
# @param [String] project
|
8983
8990
|
# Project ID for this request.
|
8984
8991
|
# @param [String] filter
|
@@ -9180,7 +9187,7 @@ module Google
|
|
9180
9187
|
execute_or_queue_command(command, &block)
|
9181
9188
|
end
|
9182
9189
|
|
9183
|
-
# Retrieves
|
9190
|
+
# Retrieves a list of TargetVpnGateway resources available to the specified
|
9184
9191
|
# project and region.
|
9185
9192
|
# @param [String] project
|
9186
9193
|
# Project ID for this request.
|
@@ -9455,7 +9462,7 @@ module Google
|
|
9455
9462
|
execute_or_queue_command(command, &block)
|
9456
9463
|
end
|
9457
9464
|
|
9458
|
-
#
|
9465
|
+
# Updates the entire content of the UrlMap resource. This method supports patch
|
9459
9466
|
# semantics.
|
9460
9467
|
# @param [String] project
|
9461
9468
|
# Project ID for this request.
|
@@ -9497,7 +9504,7 @@ module Google
|
|
9497
9504
|
execute_or_queue_command(command, &block)
|
9498
9505
|
end
|
9499
9506
|
|
9500
|
-
#
|
9507
|
+
# Updates the entire content of the UrlMap resource.
|
9501
9508
|
# @param [String] project
|
9502
9509
|
# Project ID for this request.
|
9503
9510
|
# @param [String] url_map
|
@@ -9538,8 +9545,8 @@ module Google
|
|
9538
9545
|
execute_or_queue_command(command, &block)
|
9539
9546
|
end
|
9540
9547
|
|
9541
|
-
#
|
9542
|
-
# UrlMap will be run. Calling this method does NOT create the UrlMap.
|
9548
|
+
# Runs static validation for the UrlMap. In particular, the tests of the
|
9549
|
+
# provided UrlMap will be run. Calling this method does NOT create the UrlMap.
|
9543
9550
|
# @param [String] project
|
9544
9551
|
# Project ID for this request.
|
9545
9552
|
# @param [String] url_map
|
@@ -9580,7 +9587,7 @@ module Google
|
|
9580
9587
|
execute_or_queue_command(command, &block)
|
9581
9588
|
end
|
9582
9589
|
|
9583
|
-
# Retrieves
|
9590
|
+
# Retrieves an aggregated list of VPN tunnels.
|
9584
9591
|
# @param [String] project
|
9585
9592
|
# Project ID for this request.
|
9586
9593
|
# @param [String] filter
|
@@ -9782,8 +9789,8 @@ module Google
|
|
9782
9789
|
execute_or_queue_command(command, &block)
|
9783
9790
|
end
|
9784
9791
|
|
9785
|
-
# Retrieves
|
9786
|
-
#
|
9792
|
+
# Retrieves a list of VpnTunnel resources contained in the specified project and
|
9793
|
+
# region.
|
9787
9794
|
# @param [String] project
|
9788
9795
|
# Project ID for this request.
|
9789
9796
|
# @param [String] region
|
@@ -9944,7 +9951,7 @@ module Google
|
|
9944
9951
|
execute_or_queue_command(command, &block)
|
9945
9952
|
end
|
9946
9953
|
|
9947
|
-
# Retrieves
|
9954
|
+
# Retrieves a list of Operation resources contained within the specified zone.
|
9948
9955
|
# @param [String] project
|
9949
9956
|
# Project ID for this request.
|
9950
9957
|
# @param [String] zone
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
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'
|
@@ -937,15 +937,17 @@ module Google
|
|
937
937
|
# @return [String]
|
938
938
|
attr_accessor :group
|
939
939
|
|
940
|
-
# The max RPS of the group. Can be used with either
|
941
|
-
# if RATE mode. For RATE mode, either maxRate or
|
940
|
+
# The max requests per second (RPS) of the group. Can be used with either
|
941
|
+
# balancing mode, but required if RATE mode. For RATE mode, either maxRate or
|
942
|
+
# maxRatePerInstance must be set.
|
942
943
|
# Corresponds to the JSON property `maxRate`
|
943
944
|
# @return [Fixnum]
|
944
945
|
attr_accessor :max_rate
|
945
946
|
|
946
|
-
# The max RPS that a single backed instance can handle.
|
947
|
-
# calculate the capacity of the group. Can be used in either
|
948
|
-
# RATE mode, either maxRate or maxRatePerInstance must be
|
947
|
+
# The max requests per second (RPS) that a single backed instance can handle.
|
948
|
+
# This is used to calculate the capacity of the group. Can be used in either
|
949
|
+
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
|
950
|
+
# set.
|
949
951
|
# Corresponds to the JSON property `maxRatePerInstance`
|
950
952
|
# @return [Float]
|
951
953
|
attr_accessor :max_rate_per_instance
|
@@ -973,7 +975,7 @@ module Google
|
|
973
975
|
end
|
974
976
|
|
975
977
|
# A BackendService resource. This resource defines a group of backend virtual
|
976
|
-
# machines
|
978
|
+
# machines and their serving capacity.
|
977
979
|
class BackendService
|
978
980
|
include Google::Apis::Core::Hashable
|
979
981
|
|
@@ -1030,7 +1032,7 @@ module Google
|
|
1030
1032
|
# @return [String]
|
1031
1033
|
attr_accessor :name
|
1032
1034
|
|
1033
|
-
# Deprecated in favor of
|
1035
|
+
# Deprecated in favor of portName. The TCP port to connect on the backend. The
|
1034
1036
|
# default value is 80.
|
1035
1037
|
# Corresponds to the JSON property `port`
|
1036
1038
|
# @return [Fixnum]
|
@@ -1900,9 +1902,8 @@ module Google
|
|
1900
1902
|
# @return [String]
|
1901
1903
|
attr_accessor :name
|
1902
1904
|
|
1903
|
-
# URL of the network resource for this firewall rule.
|
1904
|
-
# creating
|
1905
|
-
# specified when creating a firewall rule, the default network is used:
|
1905
|
+
# URL of the network resource for this firewall rule. If not specified when
|
1906
|
+
# creating a firewall rule, the default network is used:
|
1906
1907
|
# global/networks/default
|
1907
1908
|
# If you choose to specify this property, you can specify the network as a full
|
1908
1909
|
# or partial URL. For example, the following are all valid URLs:
|
@@ -2120,7 +2121,9 @@ module Google
|
|
2120
2121
|
# The URL of the target resource to receive the matched traffic. For regional
|
2121
2122
|
# forwarding rules, this target must live in the same region as the forwarding
|
2122
2123
|
# rule. For global forwarding rules, this target must be a global
|
2123
|
-
# TargetHttpProxy or TargetHttpsProxy resource.
|
2124
|
+
# TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of
|
2125
|
+
# a type appropriate to the target object. For example, TargetHttpProxy requires
|
2126
|
+
# HTTP traffic, and TargetHttpsProxy requires HTTPS traffic.
|
2124
2127
|
# Corresponds to the JSON property `target`
|
2125
2128
|
# @return [String]
|
2126
2129
|
attr_accessor :target
|
@@ -2955,8 +2958,8 @@ module Google
|
|
2955
2958
|
# @return [String]
|
2956
2959
|
attr_accessor :creation_timestamp
|
2957
2960
|
|
2958
|
-
# An optional
|
2959
|
-
# the resource
|
2961
|
+
# An optional description of this resource. Provide this property when you
|
2962
|
+
# create the resource.
|
2960
2963
|
# Corresponds to the JSON property `description`
|
2961
2964
|
# @return [String]
|
2962
2965
|
attr_accessor :description
|
@@ -2967,8 +2970,8 @@ module Google
|
|
2967
2970
|
# @return [Array<Google::Apis::ComputeV1::AttachedDisk>]
|
2968
2971
|
attr_accessor :disks
|
2969
2972
|
|
2970
|
-
# [Output Only]
|
2971
|
-
# by the server.
|
2973
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2974
|
+
# defined by the server.
|
2972
2975
|
# Corresponds to the JSON property `id`
|
2973
2976
|
# @return [String]
|
2974
2977
|
attr_accessor :id
|
@@ -3000,12 +3003,12 @@ module Google
|
|
3000
3003
|
# @return [Google::Apis::ComputeV1::Metadata]
|
3001
3004
|
attr_accessor :metadata
|
3002
3005
|
|
3003
|
-
#
|
3004
|
-
# name must be 1-63 characters long, and comply with
|
3005
|
-
# name must be 1-63 characters long and match the
|
3006
|
-
# z0-9]*[a-z0-9])? which means the first character
|
3007
|
-
# and all following characters must be a dash,
|
3008
|
-
# except the last character, which cannot be a dash.
|
3006
|
+
# The name of the resource, provided by the client when initially creating the
|
3007
|
+
# resource. The resource name must be 1-63 characters long, and comply with
|
3008
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
3009
|
+
# regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character
|
3010
|
+
# must be a lowercase letter, and all following characters must be a dash,
|
3011
|
+
# lowercase letter, or digit, except the last character, which cannot be a dash.
|
3009
3012
|
# Corresponds to the JSON property `name`
|
3010
3013
|
# @return [String]
|
3011
3014
|
attr_accessor :name
|
@@ -3022,7 +3025,7 @@ module Google
|
|
3022
3025
|
# @return [Google::Apis::ComputeV1::Scheduling]
|
3023
3026
|
attr_accessor :scheduling
|
3024
3027
|
|
3025
|
-
# [Output Only] Server
|
3028
|
+
# [Output Only] Server-defined URL for this resource.
|
3026
3029
|
# Corresponds to the JSON property `selfLink`
|
3027
3030
|
# @return [String]
|
3028
3031
|
attr_accessor :self_link
|
@@ -3104,12 +3107,16 @@ module Google
|
|
3104
3107
|
# @return [String]
|
3105
3108
|
attr_accessor :kind
|
3106
3109
|
|
3107
|
-
# [Output Only]
|
3110
|
+
# [Output Only] This token allows you to get the next page of results for list
|
3111
|
+
# requests. If the number of results is larger than maxResults, use the
|
3112
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
3113
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
3114
|
+
# continue paging through the results.
|
3108
3115
|
# Corresponds to the JSON property `nextPageToken`
|
3109
3116
|
# @return [String]
|
3110
3117
|
attr_accessor :next_page_token
|
3111
3118
|
|
3112
|
-
# [Output Only] Server
|
3119
|
+
# [Output Only] Server-defined URL for this resource.
|
3113
3120
|
# Corresponds to the JSON property `selfLink`
|
3114
3121
|
# @return [String]
|
3115
3122
|
attr_accessor :self_link
|
@@ -3452,7 +3459,9 @@ module Google
|
|
3452
3459
|
attr_accessor :abandoning
|
3453
3460
|
|
3454
3461
|
# [Output Only] The number of instances in the managed instance group that are
|
3455
|
-
# scheduled to be created or are currently being created.
|
3462
|
+
# scheduled to be created or are currently being created. If the group fails to
|
3463
|
+
# create one of these instances, it tries again until it creates the instance
|
3464
|
+
# successfully.
|
3456
3465
|
# Corresponds to the JSON property `creating`
|
3457
3466
|
# @return [Fixnum]
|
3458
3467
|
attr_accessor :creating
|
@@ -4079,12 +4088,16 @@ module Google
|
|
4079
4088
|
# @return [String]
|
4080
4089
|
attr_accessor :kind
|
4081
4090
|
|
4082
|
-
# [Output Only]
|
4091
|
+
# [Output Only] This token allows you to get the next page of results for list
|
4092
|
+
# requests. If the number of results is larger than maxResults, use the
|
4093
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
4094
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
4095
|
+
# continue paging through the results.
|
4083
4096
|
# Corresponds to the JSON property `nextPageToken`
|
4084
4097
|
# @return [String]
|
4085
4098
|
attr_accessor :next_page_token
|
4086
4099
|
|
4087
|
-
# [Output Only] Server
|
4100
|
+
# [Output Only] Server-defined URL for this resource.
|
4088
4101
|
# Corresponds to the JSON property `selfLink`
|
4089
4102
|
# @return [String]
|
4090
4103
|
attr_accessor :self_link
|
@@ -4827,7 +4840,11 @@ module Google
|
|
4827
4840
|
# for the instance. Possible values:
|
4828
4841
|
# - NONE The instance is running, and the managed instance group does not have
|
4829
4842
|
# any scheduled actions for this instance.
|
4830
|
-
# - CREATING The managed instance group is creating this instance.
|
4843
|
+
# - CREATING The managed instance group is creating this instance. If the group
|
4844
|
+
# fails to create this instance, it will try again until it is successful.
|
4845
|
+
# - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create
|
4846
|
+
# this instance only once. If the group fails to create this instance, it does
|
4847
|
+
# not try again and the group's target_size value is decreased.
|
4831
4848
|
# - RECREATING The managed instance group is recreating this instance.
|
4832
4849
|
# - DELETING The managed instance group is permanently deleting this instance.
|
4833
4850
|
# - ABANDONING The managed instance group is abandoning this instance. The
|
@@ -5254,7 +5271,8 @@ module Google
|
|
5254
5271
|
attr_accessor :http_error_message
|
5255
5272
|
|
5256
5273
|
# [Output Only] If the operation fails, this field contains the HTTP error
|
5257
|
-
#
|
5274
|
+
# status code that was returned. For example, a 404 means the resource was not
|
5275
|
+
# found.
|
5258
5276
|
# Corresponds to the JSON property `httpErrorStatusCode`
|
5259
5277
|
# @return [Fixnum]
|
5260
5278
|
attr_accessor :http_error_status_code
|
@@ -5289,14 +5307,14 @@ module Google
|
|
5289
5307
|
|
5290
5308
|
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
|
5291
5309
|
# is no requirement that this be linear or support any granularity of operations.
|
5292
|
-
# This should not be used to guess
|
5310
|
+
# This should not be used to guess when the operation will be complete. This
|
5293
5311
|
# number should monotonically increase as the operation progresses.
|
5294
5312
|
# Corresponds to the JSON property `progress`
|
5295
5313
|
# @return [Fixnum]
|
5296
5314
|
attr_accessor :progress
|
5297
5315
|
|
5298
|
-
# [Output Only] URL of the region where the operation resides. Only
|
5299
|
-
#
|
5316
|
+
# [Output Only] URL of the region where the operation resides. Only available
|
5317
|
+
# when performing regional operations.
|
5300
5318
|
# Corresponds to the JSON property `region`
|
5301
5319
|
# @return [String]
|
5302
5320
|
attr_accessor :region
|
@@ -5346,7 +5364,8 @@ module Google
|
|
5346
5364
|
# @return [Array<Google::Apis::ComputeV1::Operation::Warning>]
|
5347
5365
|
attr_accessor :warnings
|
5348
5366
|
|
5349
|
-
# [Output Only] URL of the zone where the operation resides.
|
5367
|
+
# [Output Only] URL of the zone where the operation resides. Only available when
|
5368
|
+
# performing per-zone operations.
|
5350
5369
|
# Corresponds to the JSON property `zone`
|
5351
5370
|
# @return [String]
|
5352
5371
|
attr_accessor :zone
|
@@ -5694,8 +5713,14 @@ module Google
|
|
5694
5713
|
class PathMatcher
|
5695
5714
|
include Google::Apis::Core::Hashable
|
5696
5715
|
|
5697
|
-
# The URL to the BackendService resource. This will be used if
|
5698
|
-
# pathRules defined by this PathMatcher is
|
5716
|
+
# The full or partial URL to the BackendService resource. This will be used if
|
5717
|
+
# none of the pathRules defined by this PathMatcher is matched by the URL's path
|
5718
|
+
# portion. For example, the following are all valid URLs to a BackendService
|
5719
|
+
# resource:
|
5720
|
+
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
5721
|
+
# backendServices/backendService
|
5722
|
+
# - compute/v1/projects/project/global/backendServices/backendService
|
5723
|
+
# - global/backendServices/backendService
|
5699
5724
|
# Corresponds to the JSON property `defaultService`
|
5700
5725
|
# @return [String]
|
5701
5726
|
attr_accessor :default_service
|
@@ -6011,7 +6036,7 @@ module Google
|
|
6011
6036
|
|
6012
6037
|
# The route resource. A Route is a rule that specifies how certain packets
|
6013
6038
|
# should be handled by the virtual network. Routes are associated with instances
|
6014
|
-
# by
|
6039
|
+
# by tags and the set of Routes for a particular instance is called its routing
|
6015
6040
|
# table. For each packet leaving a instance, the system searches that instance's
|
6016
6041
|
# routing table for a single best matching Route. Routes match packets by
|
6017
6042
|
# destination IP address, preferring smaller or more specific ranges over larger
|
@@ -6067,15 +6092,15 @@ module Google
|
|
6067
6092
|
# @return [String]
|
6068
6093
|
attr_accessor :network
|
6069
6094
|
|
6070
|
-
# The URL to a gateway that should handle matching packets.
|
6071
|
-
#
|
6072
|
-
# internet-gateway
|
6095
|
+
# The URL to a gateway that should handle matching packets. You can only specify
|
6096
|
+
# the internet gateway using a full or partial valid URL: projects/<project-id>/
|
6097
|
+
# global/gateways/default-internet-gateway
|
6073
6098
|
# Corresponds to the JSON property `nextHopGateway`
|
6074
6099
|
# @return [String]
|
6075
6100
|
attr_accessor :next_hop_gateway
|
6076
6101
|
|
6077
|
-
# The
|
6078
|
-
# For example:
|
6102
|
+
# The URL to an instance that should handle matching packets. You can specify
|
6103
|
+
# this as a full or partial URL. For example:
|
6079
6104
|
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
|
6080
6105
|
# Corresponds to the JSON property `nextHopInstance`
|
6081
6106
|
# @return [String]
|
@@ -6096,9 +6121,10 @@ module Google
|
|
6096
6121
|
# @return [String]
|
6097
6122
|
attr_accessor :next_hop_vpn_tunnel
|
6098
6123
|
|
6099
|
-
#
|
6100
|
-
#
|
6101
|
-
#
|
6124
|
+
# The priority of this route. Priority is used to break ties in cases where
|
6125
|
+
# there is more than one matching route of equal prefix length. In the case of
|
6126
|
+
# two routes with equal prefix length, the one with the lowest-numbered priority
|
6127
|
+
# value wins. Default value is 1000. Valid range is 0 through 65535.
|
6102
6128
|
# Corresponds to the JSON property `priority`
|
6103
6129
|
# @return [Fixnum]
|
6104
6130
|
attr_accessor :priority
|
@@ -6217,7 +6243,7 @@ module Google
|
|
6217
6243
|
# @return [String]
|
6218
6244
|
attr_accessor :id
|
6219
6245
|
|
6220
|
-
# A list of Route resources.
|
6246
|
+
# [Output Only] A list of Route resources.
|
6221
6247
|
# Corresponds to the JSON property `items`
|
6222
6248
|
# @return [Array<Google::Apis::ComputeV1::Route>]
|
6223
6249
|
attr_accessor :items
|
@@ -6309,7 +6335,7 @@ module Google
|
|
6309
6335
|
# @return [String]
|
6310
6336
|
attr_accessor :kind
|
6311
6337
|
|
6312
|
-
# [Output Only] Server
|
6338
|
+
# [Output Only] Server-defined URL for the resource.
|
6313
6339
|
# Corresponds to the JSON property `selfLink`
|
6314
6340
|
# @return [String]
|
6315
6341
|
attr_accessor :self_link
|
@@ -6403,7 +6429,7 @@ module Google
|
|
6403
6429
|
# @return [String]
|
6404
6430
|
attr_accessor :self_link
|
6405
6431
|
|
6406
|
-
# The source disk used to create this snapshot.
|
6432
|
+
# [Output Only] The source disk used to create this snapshot.
|
6407
6433
|
# Corresponds to the JSON property `sourceDisk`
|
6408
6434
|
# @return [String]
|
6409
6435
|
attr_accessor :source_disk
|
@@ -6465,7 +6491,7 @@ module Google
|
|
6465
6491
|
# @return [String]
|
6466
6492
|
attr_accessor :id
|
6467
6493
|
|
6468
|
-
# A list of Snapshot resources.
|
6494
|
+
# [Output Only] A list of Snapshot resources.
|
6469
6495
|
# Corresponds to the JSON property `items`
|
6470
6496
|
# @return [Array<Google::Apis::ComputeV1::Snapshot>]
|
6471
6497
|
attr_accessor :items
|
@@ -6504,8 +6530,8 @@ module Google
|
|
6504
6530
|
end
|
6505
6531
|
|
6506
6532
|
# An SslCertificate resource. This resource provides a mechanism to upload an
|
6507
|
-
# SSL key and certificate to
|
6508
|
-
#
|
6533
|
+
# SSL key and certificate to the load balancer to serve secure connections from
|
6534
|
+
# the user.
|
6509
6535
|
class SslCertificate
|
6510
6536
|
include Google::Apis::Core::Hashable
|
6511
6537
|
|
@@ -6830,8 +6856,9 @@ module Google
|
|
6830
6856
|
# @return [String]
|
6831
6857
|
attr_accessor :self_link
|
6832
6858
|
|
6833
|
-
# URLs to SslCertificate resources that are used to authenticate connections
|
6834
|
-
#
|
6859
|
+
# URLs to SslCertificate resources that are used to authenticate connections
|
6860
|
+
# between users and the load balancer. Currently exactly one SSL certificate
|
6861
|
+
# must be specified.
|
6835
6862
|
# Corresponds to the JSON property `sslCertificates`
|
6836
6863
|
# @return [Array<String>]
|
6837
6864
|
attr_accessor :ssl_certificates
|
@@ -8197,8 +8224,9 @@ module Google
|
|
8197
8224
|
|
8198
8225
|
# The name of an existing bucket in Cloud Storage where the usage report object
|
8199
8226
|
# is stored. The Google Service Account is granted write access to this bucket.
|
8200
|
-
# This
|
8201
|
-
# in front of it
|
8227
|
+
# This can either be the bucket name by itself, such as example-bucket, or the
|
8228
|
+
# bucket name with gs:// or https://storage.googleapis.com/ in front of it, such
|
8229
|
+
# as gs://example-bucket.
|
8202
8230
|
# Corresponds to the JSON property `bucketName`
|
8203
8231
|
# @return [String]
|
8204
8232
|
attr_accessor :bucket_name
|
@@ -8285,7 +8313,7 @@ module Google
|
|
8285
8313
|
# @return [String]
|
8286
8314
|
attr_accessor :self_link
|
8287
8315
|
|
8288
|
-
# Shared secret used to set the secure session between the
|
8316
|
+
# Shared secret used to set the secure session between the Cloud VPN gateway and
|
8289
8317
|
# the peer VPN gateway.
|
8290
8318
|
# Corresponds to the JSON property `sharedSecret`
|
8291
8319
|
# @return [String]
|