google-api-client 0.19.3 → 0.19.4

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 (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/generated/google/apis/analytics_v3.rb +1 -1
  4. data/generated/google/apis/analytics_v3/classes.rb +212 -0
  5. data/generated/google/apis/analytics_v3/representations.rb +77 -0
  6. data/generated/google/apis/analytics_v3/service.rb +35 -0
  7. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  8. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +2 -2
  9. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -98
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -46
  12. data/generated/google/apis/androidenterprise_v1/service.rb +0 -229
  13. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  14. data/generated/google/apis/androidmanagement_v1/classes.rb +28 -49
  15. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  16. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v2/service.rb +12 -3
  18. data/generated/google/apis/appengine_v1beta.rb +1 -1
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +12 -14
  21. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  22. data/generated/google/apis/cloudbilling_v1/classes.rb +10 -3
  23. data/generated/google/apis/cloudkms_v1.rb +1 -1
  24. data/generated/google/apis/cloudkms_v1/classes.rb +0 -69
  25. data/generated/google/apis/cloudkms_v1/representations.rb +0 -20
  26. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +37 -20
  28. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
  29. data/generated/google/apis/compute_alpha.rb +1 -1
  30. data/generated/google/apis/compute_alpha/classes.rb +161 -13
  31. data/generated/google/apis/compute_alpha/representations.rb +55 -1
  32. data/generated/google/apis/compute_alpha/service.rb +3 -4
  33. data/generated/google/apis/compute_beta.rb +1 -1
  34. data/generated/google/apis/compute_beta/classes.rb +102 -12
  35. data/generated/google/apis/compute_beta/representations.rb +14 -1
  36. data/generated/google/apis/compute_beta/service.rb +102 -4
  37. data/generated/google/apis/compute_v1.rb +1 -1
  38. data/generated/google/apis/compute_v1/classes.rb +12 -5
  39. data/generated/google/apis/compute_v1/representations.rb +1 -0
  40. data/generated/google/apis/compute_v1/service.rb +3 -4
  41. data/generated/google/apis/container_v1.rb +1 -1
  42. data/generated/google/apis/container_v1/classes.rb +10 -2
  43. data/generated/google/apis/container_v1beta1.rb +1 -1
  44. data/generated/google/apis/container_v1beta1/classes.rb +10 -2
  45. data/generated/google/apis/content_v2.rb +1 -1
  46. data/generated/google/apis/content_v2/classes.rb +428 -0
  47. data/generated/google/apis/content_v2/representations.rb +169 -0
  48. data/generated/google/apis/content_v2/service.rb +128 -1
  49. data/generated/google/apis/content_v2sandbox.rb +1 -1
  50. data/generated/google/apis/content_v2sandbox/classes.rb +428 -0
  51. data/generated/google/apis/content_v2sandbox/representations.rb +169 -0
  52. data/generated/google/apis/content_v2sandbox/service.rb +127 -0
  53. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  54. data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -2
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -3
  57. data/generated/google/apis/genomics_v1.rb +1 -1
  58. data/generated/google/apis/genomics_v1/classes.rb +3 -3
  59. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  60. data/generated/google/apis/logging_v2.rb +1 -1
  61. data/generated/google/apis/logging_v2/classes.rb +9 -0
  62. data/generated/google/apis/logging_v2/representations.rb +1 -0
  63. data/generated/google/apis/logging_v2beta1.rb +1 -1
  64. data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
  65. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  66. data/generated/google/apis/ml_v1.rb +1 -1
  67. data/generated/google/apis/ml_v1/classes.rb +0 -136
  68. data/generated/google/apis/ml_v1/representations.rb +0 -33
  69. data/generated/google/apis/monitoring_v3.rb +1 -1
  70. data/generated/google/apis/monitoring_v3/classes.rb +6 -6
  71. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  72. data/generated/google/apis/oslogin_v1.rb +1 -1
  73. data/generated/google/apis/oslogin_v1/classes.rb +1 -9
  74. data/generated/google/apis/oslogin_v1/representations.rb +0 -1
  75. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  76. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -9
  77. data/generated/google/apis/oslogin_v1alpha/representations.rb +0 -1
  78. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  79. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -9
  80. data/generated/google/apis/oslogin_v1beta/representations.rb +0 -1
  81. data/generated/google/apis/people_v1.rb +1 -1
  82. data/generated/google/apis/people_v1/service.rb +5 -2
  83. data/generated/google/apis/script_v1.rb +2 -2
  84. data/generated/google/apis/script_v1/service.rb +1 -1
  85. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  86. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  87. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -0
  88. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  89. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -146
  90. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -34
  91. data/generated/google/apis/serviceuser_v1.rb +1 -1
  92. data/generated/google/apis/serviceuser_v1/classes.rb +0 -10
  93. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
  94. data/generated/google/apis/speech_v1.rb +1 -1
  95. data/generated/google/apis/speech_v1/classes.rb +0 -65
  96. data/generated/google/apis/speech_v1/representations.rb +0 -40
  97. data/generated/google/apis/speech_v1/service.rb +0 -122
  98. data/generated/google/apis/speech_v1beta1.rb +1 -1
  99. data/generated/google/apis/speech_v1beta1/classes.rb +0 -44
  100. data/generated/google/apis/speech_v1beta1/representations.rb +0 -27
  101. data/generated/google/apis/speech_v1beta1/service.rb +0 -119
  102. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  103. data/lib/google/apis/version.rb +1 -1
  104. metadata +2 -2
@@ -380,7 +380,7 @@ module Google
380
380
  # @private
381
381
  class Representation < Google::Apis::Core::JsonRepresentation
382
382
  property :payload, :base64 => true, as: 'payload'
383
- property :tag, :base64 => true, as: 'tag'
383
+ property :tag, as: 'tag'
384
384
  end
385
385
  end
386
386
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20171207'
28
+ REVISION = '20171228'
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'
@@ -32,8 +32,9 @@ module Google
32
32
  # @return [Fixnum]
33
33
  attr_accessor :accelerator_count
34
34
 
35
- # Full or partial URL of the accelerator type resource to expose to this
36
- # instance.
35
+ # Full or partial URL of the accelerator type resource to attach to this
36
+ # instance. If you are creating an instance template, specify only the
37
+ # accelerator name.
37
38
  # Corresponds to the JSON property `acceleratorType`
38
39
  # @return [String]
39
40
  attr_accessor :accelerator_type
@@ -1206,6 +1207,12 @@ module Google
1206
1207
  # @return [String]
1207
1208
  attr_accessor :disk_type
1208
1209
 
1210
+ # Labels to apply to this disk. These can be later modified by the disks.
1211
+ # setLabels method. This field is only applicable for persistent disks.
1212
+ # Corresponds to the JSON property `labels`
1213
+ # @return [Hash<String,String>]
1214
+ attr_accessor :labels
1215
+
1209
1216
  # The source image to create this disk. When creating a new instance, one of
1210
1217
  # initializeParams.sourceImage or disks.source is required except for local SSD.
1211
1218
  # To create a disk with one of the public operating system images, specify the
@@ -1241,6 +1248,7 @@ module Google
1241
1248
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1242
1249
  @disk_storage_type = args[:disk_storage_type] if args.key?(:disk_storage_type)
1243
1250
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1251
+ @labels = args[:labels] if args.key?(:labels)
1244
1252
  @source_image = args[:source_image] if args.key?(:source_image)
1245
1253
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
1246
1254
  end
@@ -4376,6 +4384,12 @@ module Google
4376
4384
  attr_accessor :auto_delete
4377
4385
  alias_method :auto_delete?, :auto_delete
4378
4386
 
4387
+ # The custom source image to be used to restore this disk when instantiating
4388
+ # this instance template.
4389
+ # Corresponds to the JSON property `customImage`
4390
+ # @return [String]
4391
+ attr_accessor :custom_image
4392
+
4379
4393
  # Specifies the device name of the disk to which the configurations apply to.
4380
4394
  # Corresponds to the JSON property `deviceName`
4381
4395
  # @return [String]
@@ -4386,12 +4400,6 @@ module Google
4386
4400
  # @return [String]
4387
4401
  attr_accessor :instantiate_from
4388
4402
 
4389
- # The custom source image to be used to restore this disk when instantiating
4390
- # this instance template.
4391
- # Corresponds to the JSON property `sourceImage`
4392
- # @return [String]
4393
- attr_accessor :source_image
4394
-
4395
4403
  def initialize(**args)
4396
4404
  update!(**args)
4397
4405
  end
@@ -4399,9 +4407,9 @@ module Google
4399
4407
  # Update properties of this object
4400
4408
  def update!(**args)
4401
4409
  @auto_delete = args[:auto_delete] if args.key?(:auto_delete)
4410
+ @custom_image = args[:custom_image] if args.key?(:custom_image)
4402
4411
  @device_name = args[:device_name] if args.key?(:device_name)
4403
4412
  @instantiate_from = args[:instantiate_from] if args.key?(:instantiate_from)
4404
- @source_image = args[:source_image] if args.key?(:source_image)
4405
4413
  end
4406
4414
  end
4407
4415
 
@@ -8727,6 +8735,11 @@ module Google
8727
8735
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
8728
8736
  attr_accessor :network_interfaces
8729
8737
 
8738
+ # Total amount of preserved state for SUSPENDED instances. Read-only in the api.
8739
+ # Corresponds to the JSON property `preservedStateSizeGb`
8740
+ # @return [Fixnum]
8741
+ attr_accessor :preserved_state_size_gb
8742
+
8730
8743
  # Sets the scheduling options for an Instance.
8731
8744
  # Corresponds to the JSON property `scheduling`
8732
8745
  # @return [Google::Apis::ComputeAlpha::Scheduling]
@@ -8805,6 +8818,7 @@ module Google
8805
8818
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
8806
8819
  @name = args[:name] if args.key?(:name)
8807
8820
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
8821
+ @preserved_state_size_gb = args[:preserved_state_size_gb] if args.key?(:preserved_state_size_gb)
8808
8822
  @scheduling = args[:scheduling] if args.key?(:scheduling)
8809
8823
  @self_link = args[:self_link] if args.key?(:self_link)
8810
8824
  @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
@@ -14613,11 +14627,20 @@ module Google
14613
14627
  class ManagedInstanceOverride
14614
14628
  include Google::Apis::Core::Hashable
14615
14629
 
14616
- # Disk overrides defined for this instance
14630
+ # Disk overrides defined for this instance. According to documentation the
14631
+ # maximum number of disks attached to an instance is 128: https://cloud.google.
14632
+ # com/compute/docs/disks/ However, compute API defines the limit at 140, so this
14633
+ # is what we check.
14617
14634
  # Corresponds to the JSON property `disks`
14618
14635
  # @return [Array<Google::Apis::ComputeAlpha::ManagedInstanceOverrideDiskOverride>]
14619
14636
  attr_accessor :disks
14620
14637
 
14638
+ # Metadata overrides defined for this instance. TODO(b/69785416) validate the
14639
+ # total length is <9 KB
14640
+ # Corresponds to the JSON property `metadata`
14641
+ # @return [Array<Google::Apis::ComputeAlpha::ManagedInstanceOverride::Metadatum>]
14642
+ attr_accessor :metadata
14643
+
14621
14644
  # [Output Only] Indicates where does the override come from.
14622
14645
  # Corresponds to the JSON property `origin`
14623
14646
  # @return [String]
@@ -14630,8 +14653,40 @@ module Google
14630
14653
  # Update properties of this object
14631
14654
  def update!(**args)
14632
14655
  @disks = args[:disks] if args.key?(:disks)
14656
+ @metadata = args[:metadata] if args.key?(:metadata)
14633
14657
  @origin = args[:origin] if args.key?(:origin)
14634
14658
  end
14659
+
14660
+ #
14661
+ class Metadatum
14662
+ include Google::Apis::Core::Hashable
14663
+
14664
+ # Key for the metadata entry. Keys must conform to the following regexp: [a-zA-
14665
+ # Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a
14666
+ # URL in the metadata server. Additionally, to avoid ambiguity, keys must not
14667
+ # conflict with any other metadata keys for the project.
14668
+ # Corresponds to the JSON property `key`
14669
+ # @return [String]
14670
+ attr_accessor :key
14671
+
14672
+ # Value for the metadata entry. These are free-form strings, and only have
14673
+ # meaning as interpreted by the image running in the instance. The only
14674
+ # restriction placed on values is that their size must be less than or equal to
14675
+ # 262144 bytes (256 KiB).
14676
+ # Corresponds to the JSON property `value`
14677
+ # @return [String]
14678
+ attr_accessor :value
14679
+
14680
+ def initialize(**args)
14681
+ update!(**args)
14682
+ end
14683
+
14684
+ # Update properties of this object
14685
+ def update!(**args)
14686
+ @key = args[:key] if args.key?(:key)
14687
+ @value = args[:value] if args.key?(:value)
14688
+ end
14689
+ end
14635
14690
  end
14636
14691
 
14637
14692
  #
@@ -16739,9 +16794,8 @@ module Google
16739
16794
  end
16740
16795
  end
16741
16796
 
16742
- # A Project resource. Projects can only be created in the Google Cloud Platform
16743
- # Console. Unless marked otherwise, values can only be modified in the console. (
16744
- # == resource_for v1.projects ==) (== resource_for beta.projects ==)
16797
+ # A Project resource. For an overview of projects, see Cloud Platform Resource
16798
+ # Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==)
16745
16799
  class Project
16746
16800
  include Google::Apis::Core::Hashable
16747
16801
 
@@ -20565,6 +20619,11 @@ module Google
20565
20619
  # @return [String]
20566
20620
  attr_accessor :description
20567
20621
 
20622
+ # [Output Only] Expiry time of the certificate. RFC3339
20623
+ # Corresponds to the JSON property `expiryTime`
20624
+ # @return [String]
20625
+ attr_accessor :expiry_time
20626
+
20568
20627
  # [Output Only] The unique identifier for the resource. This identifier is
20569
20628
  # defined by the server.
20570
20629
  # Corresponds to the JSON property `id`
@@ -20577,6 +20636,11 @@ module Google
20577
20636
  # @return [String]
20578
20637
  attr_accessor :kind
20579
20638
 
20639
+ # Configuration and status of a managed SSL certificate.
20640
+ # Corresponds to the JSON property `managed`
20641
+ # @return [Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate]
20642
+ attr_accessor :managed
20643
+
20580
20644
  # Name of the resource. Provided by the client when the resource is created. The
20581
20645
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
20582
20646
  # name must be 1-63 characters long and match the regular expression [a-z]([-a-
@@ -20598,6 +20662,24 @@ module Google
20598
20662
  # @return [String]
20599
20663
  attr_accessor :self_link
20600
20664
 
20665
+ # Configuration and status of a self-managed SSL certificate..
20666
+ # Corresponds to the JSON property `selfManaged`
20667
+ # @return [Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate]
20668
+ attr_accessor :self_managed
20669
+
20670
+ # [Output Only] Domains associated with the certificate via Subject Alternative
20671
+ # Name.
20672
+ # Corresponds to the JSON property `subjectAlternativeNames`
20673
+ # @return [Array<String>]
20674
+ attr_accessor :subject_alternative_names
20675
+
20676
+ # (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "
20677
+ # MANAGED". If not specified, the certificate is self-managed and the fields
20678
+ # certificate and private_key are used.
20679
+ # Corresponds to the JSON property `type`
20680
+ # @return [String]
20681
+ attr_accessor :type
20682
+
20601
20683
  def initialize(**args)
20602
20684
  update!(**args)
20603
20685
  end
@@ -20607,11 +20689,16 @@ module Google
20607
20689
  @certificate = args[:certificate] if args.key?(:certificate)
20608
20690
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
20609
20691
  @description = args[:description] if args.key?(:description)
20692
+ @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
20610
20693
  @id = args[:id] if args.key?(:id)
20611
20694
  @kind = args[:kind] if args.key?(:kind)
20695
+ @managed = args[:managed] if args.key?(:managed)
20612
20696
  @name = args[:name] if args.key?(:name)
20613
20697
  @private_key = args[:private_key] if args.key?(:private_key)
20614
20698
  @self_link = args[:self_link] if args.key?(:self_link)
20699
+ @self_managed = args[:self_managed] if args.key?(:self_managed)
20700
+ @subject_alternative_names = args[:subject_alternative_names] if args.key?(:subject_alternative_names)
20701
+ @type = args[:type] if args.key?(:type)
20615
20702
  end
20616
20703
  end
20617
20704
 
@@ -20732,6 +20819,67 @@ module Google
20732
20819
  end
20733
20820
  end
20734
20821
 
20822
+ # Configuration and status of a managed SSL certificate.
20823
+ class SslCertificateManagedSslCertificate
20824
+ include Google::Apis::Core::Hashable
20825
+
20826
+ # [Output only] Detailed statuses of the domains specified for managed
20827
+ # certificate resource.
20828
+ # Corresponds to the JSON property `domainStatus`
20829
+ # @return [Hash<String,String>]
20830
+ attr_accessor :domain_status
20831
+
20832
+ # The domains for which a managed SSL certificate will be generated. Currently
20833
+ # only single-domain certs are supported.
20834
+ # Corresponds to the JSON property `domains`
20835
+ # @return [Array<String>]
20836
+ attr_accessor :domains
20837
+
20838
+ # [Output only] Status of the managed certificate resource.
20839
+ # Corresponds to the JSON property `status`
20840
+ # @return [String]
20841
+ attr_accessor :status
20842
+
20843
+ def initialize(**args)
20844
+ update!(**args)
20845
+ end
20846
+
20847
+ # Update properties of this object
20848
+ def update!(**args)
20849
+ @domain_status = args[:domain_status] if args.key?(:domain_status)
20850
+ @domains = args[:domains] if args.key?(:domains)
20851
+ @status = args[:status] if args.key?(:status)
20852
+ end
20853
+ end
20854
+
20855
+ # Configuration and status of a self-managed SSL certificate..
20856
+ class SslCertificateSelfManagedSslCertificate
20857
+ include Google::Apis::Core::Hashable
20858
+
20859
+ # A local certificate file. The certificate must be in PEM format. The
20860
+ # certificate chain must be no greater than 5 certs long. The chain must include
20861
+ # at least one intermediate cert.
20862
+ # Corresponds to the JSON property `certificate`
20863
+ # @return [String]
20864
+ attr_accessor :certificate
20865
+
20866
+ # A write-only private key in PEM format. Only insert requests will include this
20867
+ # field.
20868
+ # Corresponds to the JSON property `privateKey`
20869
+ # @return [String]
20870
+ attr_accessor :private_key
20871
+
20872
+ def initialize(**args)
20873
+ update!(**args)
20874
+ end
20875
+
20876
+ # Update properties of this object
20877
+ def update!(**args)
20878
+ @certificate = args[:certificate] if args.key?(:certificate)
20879
+ @private_key = args[:private_key] if args.key?(:private_key)
20880
+ end
20881
+ end
20882
+
20735
20883
  #
20736
20884
  class SslPoliciesList
20737
20885
  include Google::Apis::Core::Hashable
@@ -1938,6 +1938,12 @@ module Google
1938
1938
 
1939
1939
  class ManagedInstanceOverride
1940
1940
  class Representation < Google::Apis::Core::JsonRepresentation; end
1941
+
1942
+ class Metadatum
1943
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1944
+
1945
+ include Google::Apis::Core::JsonObjectSupport
1946
+ end
1941
1947
 
1942
1948
  include Google::Apis::Core::JsonObjectSupport
1943
1949
  end
@@ -2842,6 +2848,18 @@ module Google
2842
2848
  include Google::Apis::Core::JsonObjectSupport
2843
2849
  end
2844
2850
 
2851
+ class SslCertificateManagedSslCertificate
2852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2853
+
2854
+ include Google::Apis::Core::JsonObjectSupport
2855
+ end
2856
+
2857
+ class SslCertificateSelfManagedSslCertificate
2858
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2859
+
2860
+ include Google::Apis::Core::JsonObjectSupport
2861
+ end
2862
+
2845
2863
  class SslPoliciesList
2846
2864
  class Representation < Google::Apis::Core::JsonRepresentation; end
2847
2865
 
@@ -3864,6 +3882,7 @@ module Google
3864
3882
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
3865
3883
  property :disk_storage_type, as: 'diskStorageType'
3866
3884
  property :disk_type, as: 'diskType'
3885
+ hash :labels, as: 'labels'
3867
3886
  property :source_image, as: 'sourceImage'
3868
3887
  property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
3869
3888
 
@@ -4619,9 +4638,9 @@ module Google
4619
4638
  # @private
4620
4639
  class Representation < Google::Apis::Core::JsonRepresentation
4621
4640
  property :auto_delete, as: 'autoDelete'
4641
+ property :custom_image, as: 'customImage'
4622
4642
  property :device_name, as: 'deviceName'
4623
4643
  property :instantiate_from, as: 'instantiateFrom'
4624
- property :source_image, as: 'sourceImage'
4625
4644
  end
4626
4645
  end
4627
4646
 
@@ -5652,6 +5671,7 @@ module Google
5652
5671
  property :name, as: 'name'
5653
5672
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation
5654
5673
 
5674
+ property :preserved_state_size_gb, :numeric_string => true, as: 'preservedStateSizeGb'
5655
5675
  property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
5656
5676
 
5657
5677
  property :self_link, as: 'selfLink'
@@ -7184,8 +7204,18 @@ module Google
7184
7204
  class Representation < Google::Apis::Core::JsonRepresentation
7185
7205
  collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::ManagedInstanceOverrideDiskOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverrideDiskOverride::Representation
7186
7206
 
7207
+ collection :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Metadatum, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Metadatum::Representation
7208
+
7187
7209
  property :origin, as: 'origin'
7188
7210
  end
7211
+
7212
+ class Metadatum
7213
+ # @private
7214
+ class Representation < Google::Apis::Core::JsonRepresentation
7215
+ property :key, as: 'key'
7216
+ property :value, as: 'value'
7217
+ end
7218
+ end
7189
7219
  end
7190
7220
 
7191
7221
  class ManagedInstanceOverrideDiskOverride
@@ -8736,11 +8766,18 @@ module Google
8736
8766
  property :certificate, as: 'certificate'
8737
8767
  property :creation_timestamp, as: 'creationTimestamp'
8738
8768
  property :description, as: 'description'
8769
+ property :expiry_time, as: 'expiryTime'
8739
8770
  property :id, :numeric_string => true, as: 'id'
8740
8771
  property :kind, as: 'kind'
8772
+ property :managed, as: 'managed', class: Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate, decorator: Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate::Representation
8773
+
8741
8774
  property :name, as: 'name'
8742
8775
  property :private_key, as: 'privateKey'
8743
8776
  property :self_link, as: 'selfLink'
8777
+ property :self_managed, as: 'selfManaged', class: Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate, decorator: Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate::Representation
8778
+
8779
+ collection :subject_alternative_names, as: 'subjectAlternativeNames'
8780
+ property :type, as: 'type'
8744
8781
  end
8745
8782
  end
8746
8783
 
@@ -8776,6 +8813,23 @@ module Google
8776
8813
  end
8777
8814
  end
8778
8815
 
8816
+ class SslCertificateManagedSslCertificate
8817
+ # @private
8818
+ class Representation < Google::Apis::Core::JsonRepresentation
8819
+ hash :domain_status, as: 'domainStatus'
8820
+ collection :domains, as: 'domains'
8821
+ property :status, as: 'status'
8822
+ end
8823
+ end
8824
+
8825
+ class SslCertificateSelfManagedSslCertificate
8826
+ # @private
8827
+ class Representation < Google::Apis::Core::JsonRepresentation
8828
+ property :certificate, as: 'certificate'
8829
+ property :private_key, as: 'privateKey'
8830
+ end
8831
+ end
8832
+
8779
8833
  class SslPoliciesList
8780
8834
  # @private
8781
8835
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9091,10 +9091,9 @@ module Google
9091
9091
  execute_or_queue_command(command, &block)
9092
9092
  end
9093
9093
 
9094
- # Deletes the specified instance template. If you delete an instance template
9095
- # that is being referenced from another instance group, the instance group will
9096
- # not be able to create or recreate virtual machine instances. Deleting an
9097
- # instance template is permanent and cannot be undone.
9094
+ # Deletes the specified instance template. Deleting an instance template is
9095
+ # permanent and cannot be undone. It's not possible to delete templates which
9096
+ # are in use by an instance group.
9098
9097
  # @param [String] project
9099
9098
  # Project ID for this request.
9100
9099
  # @param [String] instance_template
@@ -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 = '20171207'
28
+ REVISION = '20171228'
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'