google-api-client 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
  5. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
  6. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
  9. data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +56 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +20 -0
  13. data/generated/google/apis/calendar_v3.rb +1 -1
  14. data/generated/google/apis/calendar_v3/classes.rb +15 -4
  15. data/generated/google/apis/calendar_v3/representations.rb +1 -0
  16. data/generated/google/apis/calendar_v3/service.rb +8 -4
  17. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  18. data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
  19. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  20. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
  21. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
  22. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  23. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
  24. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  25. data/generated/google/apis/compute_alpha.rb +1 -1
  26. data/generated/google/apis/compute_alpha/classes.rb +256 -63
  27. data/generated/google/apis/compute_alpha/representations.rb +44 -1
  28. data/generated/google/apis/compute_alpha/service.rb +217 -2
  29. data/generated/google/apis/compute_beta.rb +1 -1
  30. data/generated/google/apis/compute_beta/classes.rb +776 -46
  31. data/generated/google/apis/compute_beta/representations.rb +254 -0
  32. data/generated/google/apis/compute_beta/service.rb +1070 -13
  33. data/generated/google/apis/compute_v1.rb +1 -1
  34. data/generated/google/apis/compute_v1/classes.rb +83 -46
  35. data/generated/google/apis/compute_v1/service.rb +4 -2
  36. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  37. data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
  38. data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
  39. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  40. data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
  41. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  42. data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
  43. data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
  44. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
  46. data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
  47. data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
  48. data/generated/google/apis/iam_v1.rb +1 -1
  49. data/generated/google/apis/iam_v1/classes.rb +0 -56
  50. data/generated/google/apis/iam_v1/representations.rb +0 -18
  51. data/generated/google/apis/logging_v2.rb +1 -1
  52. data/generated/google/apis/logging_v2/classes.rb +8 -6
  53. data/generated/google/apis/logging_v2beta1.rb +1 -1
  54. data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
  55. data/generated/google/apis/ml_v1.rb +1 -1
  56. data/generated/google/apis/ml_v1/classes.rb +22 -5
  57. data/generated/google/apis/ml_v1/service.rb +19 -5
  58. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  59. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  60. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  61. data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
  62. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  63. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  64. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
  65. data/generated/google/apis/serviceuser_v1.rb +1 -1
  66. data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
  67. data/generated/google/apis/sheets_v4.rb +1 -1
  68. data/generated/google/apis/sheets_v4/classes.rb +283 -0
  69. data/generated/google/apis/sheets_v4/representations.rb +90 -0
  70. data/generated/google/apis/speech_v1.rb +1 -1
  71. data/generated/google/apis/storage_v1.rb +1 -1
  72. data/generated/google/apis/storage_v1/classes.rb +115 -4
  73. data/generated/google/apis/storage_v1/representations.rb +23 -0
  74. data/generated/google/apis/storage_v1/service.rb +44 -1
  75. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  76. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
  77. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  78. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  79. data/lib/google/apis/version.rb +1 -1
  80. metadata +2 -6
  81. data/generated/google/apis/consumersurveys_v2.rb +0 -40
  82. data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
  83. data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
  84. data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
@@ -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 = '20171127'
28
+ REVISION = '20171207'
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'
@@ -49,7 +49,8 @@ module Google
49
49
  end
50
50
  end
51
51
 
52
- # An Accelerator Type resource.
52
+ # An Accelerator Type resource. (== resource_for beta.acceleratorTypes ==) (==
53
+ # resource_for v1.acceleratorTypes ==)
53
54
  class AcceleratorType
54
55
  include Google::Apis::Core::Hashable
55
56
 
@@ -491,7 +492,9 @@ module Google
491
492
  end
492
493
  end
493
494
 
494
- # A reserved address resource.
495
+ # A reserved address resource. (== resource_for beta.addresses ==) (==
496
+ # resource_for v1.addresses ==) (== resource_for beta.globalAddresses ==) (==
497
+ # resource_for v1.globalAddresses ==)
495
498
  class Address
496
499
  include Google::Apis::Core::Hashable
497
500
 
@@ -564,9 +567,9 @@ module Google
564
567
  # @return [String]
565
568
  attr_accessor :status
566
569
 
567
- # For external addresses, this field should not be used.
568
570
  # The URL of the subnetwork in which to reserve the address. If an IP address is
569
- # specified, it must be within the subnetwork's IP range.
571
+ # specified, it must be within the subnetwork's IP range. This field can only be
572
+ # used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER purposes.
570
573
  # Corresponds to the JSON property `subnetwork`
571
574
  # @return [String]
572
575
  attr_accessor :subnetwork
@@ -1147,7 +1150,9 @@ module Google
1147
1150
  # Represents an Autoscaler resource. Autoscalers allow you to automatically
1148
1151
  # scale virtual machine instances in managed instance groups according to an
1149
1152
  # autoscaling policy that you define. For more information, read Autoscaling
1150
- # Groups of Instances.
1153
+ # Groups of Instances. (== resource_for beta.autoscalers ==) (== resource_for v1.
1154
+ # autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for
1155
+ # v1.regionAutoscalers ==)
1151
1156
  class Autoscaler
1152
1157
  include Google::Apis::Core::Hashable
1153
1158
 
@@ -2029,7 +2034,8 @@ module Google
2029
2034
  end
2030
2035
 
2031
2036
  # A BackendService resource. This resource defines a group of backend virtual
2032
- # machines and their serving capacity.
2037
+ # machines and their serving capacity. (== resource_for v1.backendService ==) (==
2038
+ # resource_for beta.backendService ==)
2033
2039
  class BackendService
2034
2040
  include Google::Apis::Core::Hashable
2035
2041
 
@@ -2708,7 +2714,8 @@ module Google
2708
2714
  # Committed use discounts are subject to Google Cloud Platform's Service
2709
2715
  # Specific Terms. By purchasing a committed use discount, you agree to these
2710
2716
  # terms. Committed use discounts will not renew, so you must purchase a new
2711
- # commitment to continue receiving discounts.
2717
+ # commitment to continue receiving discounts. (== resource_for beta.commitments =
2718
+ # =) (== resource_for v1.commitments ==)
2712
2719
  class Commitment
2713
2720
  include Google::Apis::Core::Hashable
2714
2721
 
@@ -3266,7 +3273,7 @@ module Google
3266
3273
  end
3267
3274
  end
3268
3275
 
3269
- # A Disk resource.
3276
+ # A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==)
3270
3277
  class Disk
3271
3278
  include Google::Apis::Core::Hashable
3272
3279
 
@@ -3740,7 +3747,8 @@ module Google
3740
3747
  end
3741
3748
  end
3742
3749
 
3743
- # A DiskType resource.
3750
+ # A DiskType resource. (== resource_for beta.diskTypes ==) (== resource_for v1.
3751
+ # diskTypes ==)
3744
3752
  class DiskType
3745
3753
  include Google::Apis::Core::Hashable
3746
3754
 
@@ -4604,7 +4612,11 @@ module Google
4604
4612
 
4605
4613
  # A ForwardingRule resource. A ForwardingRule resource specifies which pool of
4606
4614
  # target virtual machines to forward a packet to if it matches the given [
4607
- # IPAddress, IPProtocol, ports] tuple.
4615
+ # IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
4616
+ # (== resource_for v1.forwardingRules ==) (== resource_for beta.
4617
+ # globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (==
4618
+ # resource_for beta.regionForwardingRules ==) (== resource_for v1.
4619
+ # regionForwardingRules ==)
4608
4620
  class ForwardingRule
4609
4621
  include Google::Apis::Core::Hashable
4610
4622
 
@@ -5157,9 +5169,8 @@ module Google
5157
5169
  class GuestOsFeature
5158
5170
  include Google::Apis::Core::Hashable
5159
5171
 
5160
- # The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is
5161
- # supported. For newer Windows images, the server might also populate this
5162
- # property with the value WINDOWS to indicate that this is a Windows image.
5172
+ # The ID of a supported feature. Read Enabling guest operating system features
5173
+ # to see a list of available options.
5163
5174
  # Corresponds to the JSON property `type`
5164
5175
  # @return [String]
5165
5176
  attr_accessor :type
@@ -6048,7 +6059,8 @@ module Google
6048
6059
  end
6049
6060
  end
6050
6061
 
6051
- # An Image resource.
6062
+ # An Image resource. (== resource_for beta.images ==) (== resource_for v1.images
6063
+ # ==)
6052
6064
  class Image
6053
6065
  include Google::Apis::Core::Hashable
6054
6066
 
@@ -6086,14 +6098,9 @@ module Google
6086
6098
  # @return [String]
6087
6099
  attr_accessor :family
6088
6100
 
6089
- # A list of features to enable on the guest OS. Applicable for bootable images
6090
- # only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE,
6091
- # which allows each virtual CPU to have its own queue. For Windows images, you
6092
- # can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.
6093
- # 1621 or higher. Linux images with kernel versions 3.17 and higher will support
6094
- # VIRTIO_SCSI_MULTIQUEUE.
6095
- # For newer Windows images, the server might also populate this property with
6096
- # the value WINDOWS to indicate that this is a Windows image.
6101
+ # A list of features to enable on the guest operating system. Applicable only
6102
+ # for bootable images. Read Enabling guest operating system features to see a
6103
+ # list of available options.
6097
6104
  # Corresponds to the JSON property `guestOsFeatures`
6098
6105
  # @return [Array<Google::Apis::ComputeV1::GuestOsFeature>]
6099
6106
  attr_accessor :guest_os_features
@@ -6399,7 +6406,8 @@ module Google
6399
6406
  end
6400
6407
  end
6401
6408
 
6402
- # An Instance resource.
6409
+ # An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.
6410
+ # instances ==)
6403
6411
  class Instance
6404
6412
  include Google::Apis::Core::Hashable
6405
6413
 
@@ -6717,7 +6725,9 @@ module Google
6717
6725
  end
6718
6726
  end
6719
6727
 
6720
- #
6728
+ # InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.
6729
+ # instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (==
6730
+ # resource_for v1.regionInstanceGroups ==)
6721
6731
  class InstanceGroup
6722
6732
  include Google::Apis::Core::Hashable
6723
6733
 
@@ -7058,7 +7068,10 @@ module Google
7058
7068
  end
7059
7069
  end
7060
7070
 
7061
- # An Instance Group Manager resource.
7071
+ # An Instance Group Manager resource. (== resource_for beta.
7072
+ # instanceGroupManagers ==) (== resource_for v1.instanceGroupManagers ==) (==
7073
+ # resource_for beta.regionInstanceGroupManagers ==) (== resource_for v1.
7074
+ # regionInstanceGroupManagers ==)
7062
7075
  class InstanceGroupManager
7063
7076
  include Google::Apis::Core::Hashable
7064
7077
 
@@ -8300,7 +8313,8 @@ module Google
8300
8313
  end
8301
8314
  end
8302
8315
 
8303
- # An Instance Template resource.
8316
+ # An Instance Template resource. (== resource_for beta.instanceTemplates ==) (==
8317
+ # resource_for v1.instanceTemplates ==)
8304
8318
  class InstanceTemplate
8305
8319
  include Google::Apis::Core::Hashable
8306
8320
 
@@ -8742,7 +8756,8 @@ module Google
8742
8756
 
8743
8757
  # Represents an Interconnects resource. The Interconnects resource is a
8744
8758
  # dedicated connection between Google's network and your on-premises network.
8745
- # For more information, see the Dedicated overview page.
8759
+ # For more information, see the Dedicated overview page. (== resource_for v1.
8760
+ # interconnects ==) (== resource_for beta.interconnects ==)
8746
8761
  class Interconnect
8747
8762
  include Google::Apis::Core::Hashable
8748
8763
 
@@ -8910,7 +8925,8 @@ module Google
8910
8925
  end
8911
8926
 
8912
8927
  # Represents an InterconnectAttachment (VLAN attachment) resource. For more
8913
- # information, see Creating VLAN Attachments.
8928
+ # information, see Creating VLAN Attachments. (== resource_for beta.
8929
+ # interconnectAttachments ==) (== resource_for v1.interconnectAttachments ==)
8914
8930
  class InterconnectAttachment
8915
8931
  include Google::Apis::Core::Hashable
8916
8932
 
@@ -9890,7 +9906,8 @@ module Google
9890
9906
  end
9891
9907
  end
9892
9908
 
9893
- # A Machine Type resource.
9909
+ # A Machine Type resource. (== resource_for v1.machineTypes ==) (== resource_for
9910
+ # beta.machineTypes ==)
9894
9911
  class MachineType
9895
9912
  include Google::Apis::Core::Hashable
9896
9913
 
@@ -10577,7 +10594,8 @@ module Google
10577
10594
  end
10578
10595
 
10579
10596
  # Represents a Network resource. Read Networks and Firewalls for more
10580
- # information.
10597
+ # information. (== resource_for v1.networks ==) (== resource_for beta.networks ==
10598
+ # )
10581
10599
  class Network
10582
10600
  include Google::Apis::Core::Hashable
10583
10601
 
@@ -11014,7 +11032,11 @@ module Google
11014
11032
  end
11015
11033
  end
11016
11034
 
11017
- # An Operation resource, used to manage asynchronous API requests.
11035
+ # An Operation resource, used to manage asynchronous API requests. (==
11036
+ # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
11037
+ # (== resource_for v1.regionOperations ==) (== resource_for beta.
11038
+ # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
11039
+ # beta.zoneOperations ==)
11018
11040
  class Operation
11019
11041
  include Google::Apis::Core::Hashable
11020
11042
 
@@ -11709,7 +11731,8 @@ module Google
11709
11731
  end
11710
11732
 
11711
11733
  # A Project resource. Projects can only be created in the Google Cloud Platform
11712
- # Console. Unless marked otherwise, values can only be modified in the console.
11734
+ # Console. Unless marked otherwise, values can only be modified in the console. (
11735
+ # == resource_for v1.projects ==) (== resource_for beta.projects ==)
11713
11736
  class Project
11714
11737
  include Google::Apis::Core::Hashable
11715
11738
 
@@ -11926,7 +11949,8 @@ module Google
11926
11949
  end
11927
11950
  end
11928
11951
 
11929
- # Region resource.
11952
+ # Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions
11953
+ # ==)
11930
11954
  class Region
11931
11955
  include Google::Apis::Core::Hashable
11932
11956
 
@@ -12838,7 +12862,7 @@ module Google
12838
12862
  # either to another instance destination, an instance gateway, or a Google
12839
12863
  # Compute Engine-operated gateway.
12840
12864
  # Packets that do not match any route in the sending instance's routing table
12841
- # are dropped.
12865
+ # are dropped. (== resource_for beta.routes ==) (== resource_for v1.routes ==)
12842
12866
  class Route
12843
12867
  include Google::Apis::Core::Hashable
12844
12868
 
@@ -14008,7 +14032,8 @@ module Google
14008
14032
  end
14009
14033
  end
14010
14034
 
14011
- # A persistent disk snapshot resource.
14035
+ # A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (==
14036
+ # resource_for v1.snapshots ==)
14012
14037
  class Snapshot
14013
14038
  include Google::Apis::Core::Hashable
14014
14039
 
@@ -14266,7 +14291,8 @@ module Google
14266
14291
 
14267
14292
  # An SslCertificate resource. This resource provides a mechanism to upload an
14268
14293
  # SSL key and certificate to the load balancer to serve secure connections from
14269
- # the user.
14294
+ # the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
14295
+ # sslCertificates ==)
14270
14296
  class SslCertificate
14271
14297
  include Google::Apis::Core::Hashable
14272
14298
 
@@ -14455,7 +14481,8 @@ module Google
14455
14481
  end
14456
14482
  end
14457
14483
 
14458
- # A Subnetwork resource.
14484
+ # A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for
14485
+ # v1.subnetworks ==)
14459
14486
  class Subnetwork
14460
14487
  include Google::Apis::Core::Hashable
14461
14488
 
@@ -15043,7 +15070,9 @@ module Google
15043
15070
  end
15044
15071
  end
15045
15072
 
15046
- # A TargetHttpProxy resource. This resource defines an HTTP proxy.
15073
+ # A TargetHttpProxy resource. This resource defines an HTTP proxy. (==
15074
+ # resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
15075
+ # =)
15047
15076
  class TargetHttpProxy
15048
15077
  include Google::Apis::Core::Hashable
15049
15078
 
@@ -15245,7 +15274,9 @@ module Google
15245
15274
  end
15246
15275
  end
15247
15276
 
15248
- # A TargetHttpsProxy resource. This resource defines an HTTPS proxy.
15277
+ # A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (==
15278
+ # resource_for beta.targetHttpsProxies ==) (== resource_for v1.
15279
+ # targetHttpsProxies ==)
15249
15280
  class TargetHttpsProxy
15250
15281
  include Google::Apis::Core::Hashable
15251
15282
 
@@ -15440,7 +15471,8 @@ module Google
15440
15471
  end
15441
15472
 
15442
15473
  # A TargetInstance resource. This resource defines an endpoint instance that
15443
- # terminates traffic of certain protocols.
15474
+ # terminates traffic of certain protocols. (== resource_for beta.targetInstances
15475
+ # ==) (== resource_for v1.targetInstances ==)
15444
15476
  class TargetInstance
15445
15477
  include Google::Apis::Core::Hashable
15446
15478
 
@@ -15849,7 +15881,8 @@ module Google
15849
15881
  end
15850
15882
 
15851
15883
  # A TargetPool resource. This resource defines a pool of instances, an
15852
- # associated HttpHealthCheck resource, and the fallback target pool.
15884
+ # associated HttpHealthCheck resource, and the fallback target pool. (==
15885
+ # resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)
15853
15886
  class TargetPool
15854
15887
  include Google::Apis::Core::Hashable
15855
15888
 
@@ -16488,7 +16521,8 @@ module Google
16488
16521
  end
16489
16522
  end
16490
16523
 
16491
- # A TargetSslProxy resource. This resource defines an SSL proxy.
16524
+ # A TargetSslProxy resource. This resource defines an SSL proxy. (==
16525
+ # resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)
16492
16526
  class TargetSslProxy
16493
16527
  include Google::Apis::Core::Hashable
16494
16528
 
@@ -16721,7 +16755,8 @@ module Google
16721
16755
  end
16722
16756
  end
16723
16757
 
16724
- # A TargetTcpProxy resource. This resource defines a TCP proxy.
16758
+ # A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for
16759
+ # beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)
16725
16760
  class TargetTcpProxy
16726
16761
  include Google::Apis::Core::Hashable
16727
16762
 
@@ -16908,7 +16943,8 @@ module Google
16908
16943
  end
16909
16944
  end
16910
16945
 
16911
- # Represents a Target VPN gateway resource.
16946
+ # Represents a Target VPN gateway resource. (== resource_for beta.
16947
+ # targetVpnGateways ==) (== resource_for v1.targetVpnGateways ==)
16912
16948
  class TargetVpnGateway
16913
16949
  include Google::Apis::Core::Hashable
16914
16950
 
@@ -17744,7 +17780,8 @@ module Google
17744
17780
  end
17745
17781
  end
17746
17782
 
17747
- #
17783
+ # VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
17784
+ # vpnTunnels ==)
17748
17785
  class VpnTunnel
17749
17786
  include Google::Apis::Core::Hashable
17750
17787
 
@@ -18342,7 +18379,7 @@ module Google
18342
18379
  end
18343
18380
  end
18344
18381
 
18345
- # A Zone resource.
18382
+ # A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
18346
18383
  class Zone
18347
18384
  include Google::Apis::Core::Hashable
18348
18385
 
@@ -2313,7 +2313,8 @@ module Google
2313
2313
  execute_or_queue_command(command, &block)
2314
2314
  end
2315
2315
 
2316
- # Resizes the specified persistent disk.
2316
+ # Resizes the specified persistent disk. You can only increase the size of the
2317
+ # disk.
2317
2318
  # @param [String] project
2318
2319
  # Project ID for this request.
2319
2320
  # @param [String] zone
@@ -9273,7 +9274,8 @@ module Google
9273
9274
  execute_or_queue_command(command, &block)
9274
9275
  end
9275
9276
 
9276
- # Patches the specified network with the data included in the request.
9277
+ # Patches the specified network with the data included in the request. Only the
9278
+ # following fields can be modified: routingConfig.routingMode.
9277
9279
  # @param [String] project
9278
9280
  # Project ID for this request.
9279
9281
  # @param [String] network
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/deployment-manager/
27
27
  module DeploymentmanagerAlpha
28
28
  VERSION = 'Alpha'
29
- REVISION = '20171201'
29
+ REVISION = '20171214'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -227,6 +227,12 @@ module Google
227
227
  # @return [String]
228
228
  attr_accessor :collection
229
229
 
230
+ # Deployment Manager will call these methods during the events of creation/
231
+ # deletion/update/get/setIamPolicy
232
+ # Corresponds to the JSON property `methodMap`
233
+ # @return [Google::Apis::DeploymentmanagerAlpha::MethodMap]
234
+ attr_accessor :method_map
235
+
230
236
  # Options allows customized resource handling by Deployment Manager.
231
237
  # Corresponds to the JSON property `options`
232
238
  # @return [Google::Apis::DeploymentmanagerAlpha::Options]
@@ -239,6 +245,7 @@ module Google
239
245
  # Update properties of this object
240
246
  def update!(**args)
241
247
  @collection = args[:collection] if args.key?(:collection)
248
+ @method_map = args[:method_map] if args.key?(:method_map)
242
249
  @options = args[:options] if args.key?(:options)
243
250
  end
244
251
  end
@@ -1179,6 +1186,51 @@ module Google
1179
1186
  end
1180
1187
  end
1181
1188
 
1189
+ # Deployment Manager will call these methods during the events of creation/
1190
+ # deletion/update/get/setIamPolicy
1191
+ class MethodMap
1192
+ include Google::Apis::Core::Hashable
1193
+
1194
+ # The action identifier for the create method to be used for this collection
1195
+ # Corresponds to the JSON property `create`
1196
+ # @return [String]
1197
+ attr_accessor :create
1198
+
1199
+ # The action identifier for the delete method to be used for this collection
1200
+ # Corresponds to the JSON property `delete`
1201
+ # @return [String]
1202
+ attr_accessor :delete
1203
+
1204
+ # The action identifier for the get method to be used for this collection
1205
+ # Corresponds to the JSON property `get`
1206
+ # @return [String]
1207
+ attr_accessor :get
1208
+
1209
+ # The action identifier for the setIamPolicy method to be used for this
1210
+ # collection
1211
+ # Corresponds to the JSON property `setIamPolicy`
1212
+ # @return [String]
1213
+ attr_accessor :set_iam_policy
1214
+
1215
+ # The action identifier for the update method to be used for this collection
1216
+ # Corresponds to the JSON property `update`
1217
+ # @return [String]
1218
+ attr_accessor :update
1219
+
1220
+ def initialize(**args)
1221
+ update!(**args)
1222
+ end
1223
+
1224
+ # Update properties of this object
1225
+ def update!(**args)
1226
+ @create = args[:create] if args.key?(:create)
1227
+ @delete = args[:delete] if args.key?(:delete)
1228
+ @get = args[:get] if args.key?(:get)
1229
+ @set_iam_policy = args[:set_iam_policy] if args.key?(:set_iam_policy)
1230
+ @update = args[:update] if args.key?(:update)
1231
+ end
1232
+ end
1233
+
1182
1234
  # An Operation resource, used to manage asynchronous API requests. (==
1183
1235
  # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
1184
1236
  # (== resource_for v1.regionOperations ==) (== resource_for beta.