google-api-client 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +77 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +100 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +300 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +76 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +5 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -8
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -10
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +11 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +782 -111
- data/generated/google/apis/compute_alpha/representations.rb +282 -2
- data/generated/google/apis/compute_alpha/service.rb +611 -6
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +342 -43
- data/generated/google/apis/compute_beta/representations.rb +109 -0
- data/generated/google/apis/compute_beta/service.rb +225 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -43
- data/generated/google/apis/compute_v1/service.rb +6 -6
- data/generated/google/apis/container_v1beta1/classes.rb +17 -0
- data/generated/google/apis/container_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +131 -9
- data/generated/google/apis/content_v2/representations.rb +38 -0
- data/generated/google/apis/content_v2/service.rb +35 -23
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +99 -9
- data/generated/google/apis/content_v2sandbox/representations.rb +22 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +11 -11
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/service.rb +37 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +26 -177
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/ml_v1/service.rb +3 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/poly_v1.rb +32 -0
- data/generated/google/apis/poly_v1/classes.rb +426 -0
- data/generated/google/apis/poly_v1/representations.rb +194 -0
- data/generated/google/apis/poly_v1/service.rb +273 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +243 -0
- data/generated/google/apis/pubsub_v1/representations.rb +115 -0
- data/generated/google/apis/pubsub_v1/service.rb +269 -1
- data/generated/google/apis/speech_v1.rb +4 -1
- data/generated/google/apis/speech_v1beta1.rb +4 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +13 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/lib/google/apis/core/base_service.rb +4 -1
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -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 = '
|
28
|
+
REVISION = '20171127'
|
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'
|
@@ -515,7 +515,8 @@ module Google
|
|
515
515
|
# @return [String]
|
516
516
|
attr_accessor :address
|
517
517
|
|
518
|
-
# The type of address to reserve. If unspecified,
|
518
|
+
# The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified,
|
519
|
+
# defaults to EXTERNAL.
|
519
520
|
# Corresponds to the JSON property `addressType`
|
520
521
|
# @return [String]
|
521
522
|
attr_accessor :address_type
|
@@ -1152,13 +1153,13 @@ module Google
|
|
1152
1153
|
# projects/debian-cloud/global/images/family/debian-8
|
1153
1154
|
# Alternatively, use a specific version of a public operating system image:
|
1154
1155
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
1155
|
-
# To create a disk with a
|
1156
|
+
# To create a disk with a custom image that you created, specify the image name
|
1156
1157
|
# in the following format:
|
1157
|
-
# global/images/my-
|
1158
|
-
# You can also specify a
|
1158
|
+
# global/images/my-custom-image
|
1159
|
+
# You can also specify a custom image by its image family, which returns the
|
1159
1160
|
# latest version of the image in that family. Replace the image name with family/
|
1160
1161
|
# family-name:
|
1161
|
-
# global/images/family/my-
|
1162
|
+
# global/images/family/my-image-family
|
1162
1163
|
# If the source image is deleted later, this field will not be set.
|
1163
1164
|
# Corresponds to the JSON property `sourceImage`
|
1164
1165
|
# @return [String]
|
@@ -3626,6 +3627,11 @@ module Google
|
|
3626
3627
|
# @return [String]
|
3627
3628
|
attr_accessor :last_detach_timestamp
|
3628
3629
|
|
3630
|
+
# Integer license codes indicating which licenses are attached to this disk.
|
3631
|
+
# Corresponds to the JSON property `licenseCodes`
|
3632
|
+
# @return [Array<Fixnum>]
|
3633
|
+
attr_accessor :license_codes
|
3634
|
+
|
3629
3635
|
# Any applicable publicly visible licenses.
|
3630
3636
|
# Corresponds to the JSON property `licenses`
|
3631
3637
|
# @return [Array<String>]
|
@@ -3669,13 +3675,13 @@ module Google
|
|
3669
3675
|
# projects/debian-cloud/global/images/family/debian-8
|
3670
3676
|
# Alternatively, use a specific version of a public operating system image:
|
3671
3677
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
3672
|
-
# To create a disk with a
|
3678
|
+
# To create a disk with a custom image that you created, specify the image name
|
3673
3679
|
# in the following format:
|
3674
|
-
# global/images/my-
|
3675
|
-
# You can also specify a
|
3680
|
+
# global/images/my-custom-image
|
3681
|
+
# You can also specify a custom image by its image family, which returns the
|
3676
3682
|
# latest version of the image in that family. Replace the image name with family/
|
3677
3683
|
# family-name:
|
3678
|
-
# global/images/family/my-
|
3684
|
+
# global/images/family/my-image-family
|
3679
3685
|
# Corresponds to the JSON property `sourceImage`
|
3680
3686
|
# @return [String]
|
3681
3687
|
attr_accessor :source_image
|
@@ -3761,6 +3767,7 @@ module Google
|
|
3761
3767
|
@labels = args[:labels] if args.key?(:labels)
|
3762
3768
|
@last_attach_timestamp = args[:last_attach_timestamp] if args.key?(:last_attach_timestamp)
|
3763
3769
|
@last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp)
|
3770
|
+
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
3764
3771
|
@licenses = args[:licenses] if args.key?(:licenses)
|
3765
3772
|
@name = args[:name] if args.key?(:name)
|
3766
3773
|
@options = args[:options] if args.key?(:options)
|
@@ -6626,6 +6633,11 @@ module Google
|
|
6626
6633
|
# @return [Hash<String,String>]
|
6627
6634
|
attr_accessor :labels
|
6628
6635
|
|
6636
|
+
# Integer license codes indicating which licenses are attached to this image.
|
6637
|
+
# Corresponds to the JSON property `licenseCodes`
|
6638
|
+
# @return [Array<Fixnum>]
|
6639
|
+
attr_accessor :license_codes
|
6640
|
+
|
6629
6641
|
# Any applicable license URI.
|
6630
6642
|
# Corresponds to the JSON property `licenses`
|
6631
6643
|
# @return [Array<String>]
|
@@ -6727,6 +6739,7 @@ module Google
|
|
6727
6739
|
@kind = args[:kind] if args.key?(:kind)
|
6728
6740
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
6729
6741
|
@labels = args[:labels] if args.key?(:labels)
|
6742
|
+
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
6730
6743
|
@licenses = args[:licenses] if args.key?(:licenses)
|
6731
6744
|
@name = args[:name] if args.key?(:name)
|
6732
6745
|
@raw_disk = args[:raw_disk] if args.key?(:raw_disk)
|
@@ -9640,16 +9653,16 @@ module Google
|
|
9640
9653
|
end
|
9641
9654
|
end
|
9642
9655
|
|
9643
|
-
#
|
9644
|
-
#
|
9656
|
+
# Represents an Interconnects resource. The Interconnects resource is a
|
9657
|
+
# dedicated connection between Google's network and your on-premises network.
|
9658
|
+
# For more information, see the Dedicated overview page.
|
9645
9659
|
class Interconnect
|
9646
9660
|
include Google::Apis::Core::Hashable
|
9647
9661
|
|
9648
|
-
# Administrative status of the interconnect. When this is set to
|
9649
|
-
# Interconnect is functional and
|
9650
|
-
#
|
9651
|
-
#
|
9652
|
-
# routes will be exchanged over it. By default, it is set to ?true?.
|
9662
|
+
# Administrative status of the interconnect. When this is set to true, the
|
9663
|
+
# Interconnect is functional and can carry traffic. When set to false, no
|
9664
|
+
# packets can be carried over the interconnect and no BGP routes are exchanged
|
9665
|
+
# over it. By default, the status is set to true.
|
9653
9666
|
# Corresponds to the JSON property `adminEnabled`
|
9654
9667
|
# @return [Boolean]
|
9655
9668
|
attr_accessor :admin_enabled
|
@@ -9707,7 +9720,8 @@ module Google
|
|
9707
9720
|
# @return [Array<String>]
|
9708
9721
|
attr_accessor :interconnect_attachments
|
9709
9722
|
|
9710
|
-
#
|
9723
|
+
# Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "
|
9724
|
+
# DEDICATED"
|
9711
9725
|
# Corresponds to the JSON property `interconnectType`
|
9712
9726
|
# @return [String]
|
9713
9727
|
attr_accessor :interconnect_type
|
@@ -9718,7 +9732,9 @@ module Google
|
|
9718
9732
|
# @return [String]
|
9719
9733
|
attr_accessor :kind
|
9720
9734
|
|
9721
|
-
#
|
9735
|
+
# Type of link requested. This field indicates speed of each of the links in the
|
9736
|
+
# bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
|
9737
|
+
# interconnect. Options: Ethernet_10G_LR
|
9722
9738
|
# Corresponds to the JSON property `linkType`
|
9723
9739
|
# @return [String]
|
9724
9740
|
attr_accessor :link_type
|
@@ -9806,8 +9822,8 @@ module Google
|
|
9806
9822
|
end
|
9807
9823
|
end
|
9808
9824
|
|
9809
|
-
#
|
9810
|
-
#
|
9825
|
+
# Represents an InterconnectAttachment (VLAN attachment) resource. For more
|
9826
|
+
# information, see Creating VLAN Attachments.
|
9811
9827
|
class InterconnectAttachment
|
9812
9828
|
include Google::Apis::Core::Hashable
|
9813
9829
|
|
@@ -9828,8 +9844,7 @@ module Google
|
|
9828
9844
|
# @return [String]
|
9829
9845
|
attr_accessor :customer_router_ip_address
|
9830
9846
|
|
9831
|
-
# An optional description of this resource.
|
9832
|
-
# create the resource.
|
9847
|
+
# An optional description of this resource.
|
9833
9848
|
# Corresponds to the JSON property `description`
|
9834
9849
|
# @return [String]
|
9835
9850
|
attr_accessor :description
|
@@ -9874,8 +9889,8 @@ module Google
|
|
9874
9889
|
# @return [String]
|
9875
9890
|
attr_accessor :operational_status
|
9876
9891
|
|
9877
|
-
#
|
9878
|
-
# interconnect of type
|
9892
|
+
# Information for an interconnect attachment when this belongs to an
|
9893
|
+
# interconnect of type DEDICATED.
|
9879
9894
|
# Corresponds to the JSON property `privateInterconnectInfo`
|
9880
9895
|
# @return [Google::Apis::ComputeBeta::InterconnectAttachmentPrivateInfo]
|
9881
9896
|
attr_accessor :private_interconnect_info
|
@@ -10159,8 +10174,8 @@ module Google
|
|
10159
10174
|
end
|
10160
10175
|
end
|
10161
10176
|
|
10162
|
-
#
|
10163
|
-
# interconnect of type
|
10177
|
+
# Information for an interconnect attachment when this belongs to an
|
10178
|
+
# interconnect of type DEDICATED.
|
10164
10179
|
class InterconnectAttachmentPrivateInfo
|
10165
10180
|
include Google::Apis::Core::Hashable
|
10166
10181
|
|
@@ -10277,8 +10292,7 @@ module Google
|
|
10277
10292
|
class InterconnectCircuitInfo
|
10278
10293
|
include Google::Apis::Core::Hashable
|
10279
10294
|
|
10280
|
-
# Customer-side demarc ID for this circuit.
|
10281
|
-
# provided by the Customer to Google during circuit turn-up.
|
10295
|
+
# Customer-side demarc ID for this circuit.
|
10282
10296
|
# Corresponds to the JSON property `customerDemarcId`
|
10283
10297
|
# @return [String]
|
10284
10298
|
attr_accessor :customer_demarc_id
|
@@ -10424,7 +10438,9 @@ module Google
|
|
10424
10438
|
end
|
10425
10439
|
end
|
10426
10440
|
|
10427
|
-
#
|
10441
|
+
# Represents an InterconnectLocations resource. The InterconnectLocations
|
10442
|
+
# resource describes the locations where you can connect to Google's networks.
|
10443
|
+
# For more information, see Colocation Facilities.
|
10428
10444
|
class InterconnectLocation
|
10429
10445
|
include Google::Apis::Core::Hashable
|
10430
10446
|
|
@@ -10434,22 +10450,20 @@ module Google
|
|
10434
10450
|
# @return [String]
|
10435
10451
|
attr_accessor :address
|
10436
10452
|
|
10437
|
-
# Availability zone for this location. Within a
|
10438
|
-
# simultaneously scheduled in more than one
|
10439
|
-
# or "zone2".
|
10453
|
+
# [Output Only] Availability zone for this location. Within a metropolitan area (
|
10454
|
+
# metro), maintenance will not be simultaneously scheduled in more than one
|
10455
|
+
# availability zone. Example: "zone1" or "zone2".
|
10440
10456
|
# Corresponds to the JSON property `availabilityZone`
|
10441
10457
|
# @return [String]
|
10442
10458
|
attr_accessor :availability_zone
|
10443
10459
|
|
10444
|
-
#
|
10445
|
-
#
|
10446
|
-
# Amsterdam, Netherlands".
|
10460
|
+
# [Output Only] Metropolitan area designator that indicates which city an
|
10461
|
+
# interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
|
10447
10462
|
# Corresponds to the JSON property `city`
|
10448
10463
|
# @return [String]
|
10449
10464
|
attr_accessor :city
|
10450
10465
|
|
10451
|
-
# Continent for this location.
|
10452
|
-
# UI.
|
10466
|
+
# [Output Only] Continent for this location.
|
10453
10467
|
# Corresponds to the JSON property `continent`
|
10454
10468
|
# @return [String]
|
10455
10469
|
attr_accessor :continent
|
@@ -10694,17 +10708,18 @@ module Google
|
|
10694
10708
|
# @return [Array<String>]
|
10695
10709
|
attr_accessor :affected_circuits
|
10696
10710
|
|
10697
|
-
#
|
10711
|
+
# A description about the purpose of the outage.
|
10698
10712
|
# Corresponds to the JSON property `description`
|
10699
10713
|
# @return [String]
|
10700
10714
|
attr_accessor :description
|
10701
10715
|
|
10702
|
-
#
|
10716
|
+
# Scheduled end time for the outage (milliseconds since Unix epoch).
|
10703
10717
|
# Corresponds to the JSON property `endTime`
|
10704
10718
|
# @return [Fixnum]
|
10705
10719
|
attr_accessor :end_time
|
10706
10720
|
|
10707
|
-
#
|
10721
|
+
# Form this outage is expected to take. Note that the "IT_" versions of this
|
10722
|
+
# enum have been deprecated in favor of the unprefixed values.
|
10708
10723
|
# Corresponds to the JSON property `issueType`
|
10709
10724
|
# @return [String]
|
10710
10725
|
attr_accessor :issue_type
|
@@ -10714,17 +10729,19 @@ module Google
|
|
10714
10729
|
# @return [String]
|
10715
10730
|
attr_accessor :name
|
10716
10731
|
|
10717
|
-
#
|
10732
|
+
# The party that generated this notification. Note that "NSRC_GOOGLE" has been
|
10733
|
+
# deprecated in favor of "GOOGLE"
|
10718
10734
|
# Corresponds to the JSON property `source`
|
10719
10735
|
# @return [String]
|
10720
10736
|
attr_accessor :source
|
10721
10737
|
|
10722
|
-
# Scheduled start
|
10738
|
+
# Scheduled start time for the outage (milliseconds since Unix epoch).
|
10723
10739
|
# Corresponds to the JSON property `startTime`
|
10724
10740
|
# @return [Fixnum]
|
10725
10741
|
attr_accessor :start_time
|
10726
10742
|
|
10727
|
-
#
|
10743
|
+
# State of this notification. Note that the "NS_" versions of this enum have
|
10744
|
+
# been deprecated in favor of the unprefixed values.
|
10728
10745
|
# Corresponds to the JSON property `state`
|
10729
10746
|
# @return [String]
|
10730
10747
|
attr_accessor :state
|
@@ -10757,22 +10774,57 @@ module Google
|
|
10757
10774
|
attr_accessor :charges_use_fee
|
10758
10775
|
alias_method :charges_use_fee?, :charges_use_fee
|
10759
10776
|
|
10777
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
10778
|
+
# Corresponds to the JSON property `creationTimestamp`
|
10779
|
+
# @return [String]
|
10780
|
+
attr_accessor :creation_timestamp
|
10781
|
+
|
10782
|
+
# An optional textual description of the resource; provided by the client when
|
10783
|
+
# the resource is created.
|
10784
|
+
# Corresponds to the JSON property `description`
|
10785
|
+
# @return [String]
|
10786
|
+
attr_accessor :description
|
10787
|
+
|
10788
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
10789
|
+
# defined by the server.
|
10790
|
+
# Corresponds to the JSON property `id`
|
10791
|
+
# @return [Fixnum]
|
10792
|
+
attr_accessor :id
|
10793
|
+
|
10760
10794
|
# [Output Only] Type of resource. Always compute#license for licenses.
|
10761
10795
|
# Corresponds to the JSON property `kind`
|
10762
10796
|
# @return [String]
|
10763
10797
|
attr_accessor :kind
|
10764
10798
|
|
10799
|
+
# [Output Only] The unique code used to attach this license to images, snapshots,
|
10800
|
+
# and disks.
|
10801
|
+
# Corresponds to the JSON property `licenseCode`
|
10802
|
+
# @return [Fixnum]
|
10803
|
+
attr_accessor :license_code
|
10804
|
+
|
10765
10805
|
# [Output Only] Name of the resource. The name is 1-63 characters long and
|
10766
10806
|
# complies with RFC1035.
|
10767
10807
|
# Corresponds to the JSON property `name`
|
10768
10808
|
# @return [String]
|
10769
10809
|
attr_accessor :name
|
10770
10810
|
|
10811
|
+
#
|
10812
|
+
# Corresponds to the JSON property `resourceRequirements`
|
10813
|
+
# @return [Google::Apis::ComputeBeta::LicenseResourceRequirements]
|
10814
|
+
attr_accessor :resource_requirements
|
10815
|
+
|
10771
10816
|
# [Output Only] Server-defined URL for the resource.
|
10772
10817
|
# Corresponds to the JSON property `selfLink`
|
10773
10818
|
# @return [String]
|
10774
10819
|
attr_accessor :self_link
|
10775
10820
|
|
10821
|
+
# If false, licenses will not be copied from the source resource when creating
|
10822
|
+
# an image from a disk, disk from snapshot, or snapshot from disk.
|
10823
|
+
# Corresponds to the JSON property `transferable`
|
10824
|
+
# @return [Boolean]
|
10825
|
+
attr_accessor :transferable
|
10826
|
+
alias_method :transferable?, :transferable
|
10827
|
+
|
10776
10828
|
def initialize(**args)
|
10777
10829
|
update!(**args)
|
10778
10830
|
end
|
@@ -10780,9 +10832,250 @@ module Google
|
|
10780
10832
|
# Update properties of this object
|
10781
10833
|
def update!(**args)
|
10782
10834
|
@charges_use_fee = args[:charges_use_fee] if args.key?(:charges_use_fee)
|
10835
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
10836
|
+
@description = args[:description] if args.key?(:description)
|
10837
|
+
@id = args[:id] if args.key?(:id)
|
10838
|
+
@kind = args[:kind] if args.key?(:kind)
|
10839
|
+
@license_code = args[:license_code] if args.key?(:license_code)
|
10840
|
+
@name = args[:name] if args.key?(:name)
|
10841
|
+
@resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
|
10842
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
10843
|
+
@transferable = args[:transferable] if args.key?(:transferable)
|
10844
|
+
end
|
10845
|
+
end
|
10846
|
+
|
10847
|
+
#
|
10848
|
+
class LicenseCode
|
10849
|
+
include Google::Apis::Core::Hashable
|
10850
|
+
|
10851
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
10852
|
+
# Corresponds to the JSON property `creationTimestamp`
|
10853
|
+
# @return [String]
|
10854
|
+
attr_accessor :creation_timestamp
|
10855
|
+
|
10856
|
+
# [Output Only] Description of this License Code.
|
10857
|
+
# Corresponds to the JSON property `description`
|
10858
|
+
# @return [String]
|
10859
|
+
attr_accessor :description
|
10860
|
+
|
10861
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
10862
|
+
# defined by the server.
|
10863
|
+
# Corresponds to the JSON property `id`
|
10864
|
+
# @return [Fixnum]
|
10865
|
+
attr_accessor :id
|
10866
|
+
|
10867
|
+
# [Output Only] Type of resource. Always compute#licenseCode for licenses.
|
10868
|
+
# Corresponds to the JSON property `kind`
|
10869
|
+
# @return [String]
|
10870
|
+
attr_accessor :kind
|
10871
|
+
|
10872
|
+
# [Output Only] URL and description aliases of Licenses with the same License
|
10873
|
+
# Code.
|
10874
|
+
# Corresponds to the JSON property `licenseAlias`
|
10875
|
+
# @return [Array<Google::Apis::ComputeBeta::LicenseCodeLicenseAlias>]
|
10876
|
+
attr_accessor :license_alias
|
10877
|
+
|
10878
|
+
# [Output Only] Name of the resource. The name is 1-20 characters long and must
|
10879
|
+
# be a valid 64 bit integer.
|
10880
|
+
# Corresponds to the JSON property `name`
|
10881
|
+
# @return [String]
|
10882
|
+
attr_accessor :name
|
10883
|
+
|
10884
|
+
# [Output Only] Server-defined URL for the resource.
|
10885
|
+
# Corresponds to the JSON property `selfLink`
|
10886
|
+
# @return [String]
|
10887
|
+
attr_accessor :self_link
|
10888
|
+
|
10889
|
+
# [Output Only] Current state of this License Code.
|
10890
|
+
# Corresponds to the JSON property `state`
|
10891
|
+
# @return [String]
|
10892
|
+
attr_accessor :state
|
10893
|
+
|
10894
|
+
# [Output Only] If true, the license will remain attached when creating images
|
10895
|
+
# or snapshots from disks. Otherwise, the license is not transferred.
|
10896
|
+
# Corresponds to the JSON property `transferable`
|
10897
|
+
# @return [Boolean]
|
10898
|
+
attr_accessor :transferable
|
10899
|
+
alias_method :transferable?, :transferable
|
10900
|
+
|
10901
|
+
def initialize(**args)
|
10902
|
+
update!(**args)
|
10903
|
+
end
|
10904
|
+
|
10905
|
+
# Update properties of this object
|
10906
|
+
def update!(**args)
|
10907
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
10908
|
+
@description = args[:description] if args.key?(:description)
|
10909
|
+
@id = args[:id] if args.key?(:id)
|
10783
10910
|
@kind = args[:kind] if args.key?(:kind)
|
10911
|
+
@license_alias = args[:license_alias] if args.key?(:license_alias)
|
10784
10912
|
@name = args[:name] if args.key?(:name)
|
10785
10913
|
@self_link = args[:self_link] if args.key?(:self_link)
|
10914
|
+
@state = args[:state] if args.key?(:state)
|
10915
|
+
@transferable = args[:transferable] if args.key?(:transferable)
|
10916
|
+
end
|
10917
|
+
end
|
10918
|
+
|
10919
|
+
#
|
10920
|
+
class LicenseCodeLicenseAlias
|
10921
|
+
include Google::Apis::Core::Hashable
|
10922
|
+
|
10923
|
+
# [Output Only] Description of this License Code.
|
10924
|
+
# Corresponds to the JSON property `description`
|
10925
|
+
# @return [String]
|
10926
|
+
attr_accessor :description
|
10927
|
+
|
10928
|
+
# [Output Only] URL of license corresponding to this License Code.
|
10929
|
+
# Corresponds to the JSON property `selfLink`
|
10930
|
+
# @return [String]
|
10931
|
+
attr_accessor :self_link
|
10932
|
+
|
10933
|
+
def initialize(**args)
|
10934
|
+
update!(**args)
|
10935
|
+
end
|
10936
|
+
|
10937
|
+
# Update properties of this object
|
10938
|
+
def update!(**args)
|
10939
|
+
@description = args[:description] if args.key?(:description)
|
10940
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
10941
|
+
end
|
10942
|
+
end
|
10943
|
+
|
10944
|
+
#
|
10945
|
+
class LicenseResourceRequirements
|
10946
|
+
include Google::Apis::Core::Hashable
|
10947
|
+
|
10948
|
+
# Minimum number of guest cpus required to use the Instance. Enforced at
|
10949
|
+
# Instance creation and Instance start.
|
10950
|
+
# Corresponds to the JSON property `minGuestCpuCount`
|
10951
|
+
# @return [Fixnum]
|
10952
|
+
attr_accessor :min_guest_cpu_count
|
10953
|
+
|
10954
|
+
# Minimum memory required to use the Instance. Enforced at Instance creation and
|
10955
|
+
# Instance start.
|
10956
|
+
# Corresponds to the JSON property `minMemoryMb`
|
10957
|
+
# @return [Fixnum]
|
10958
|
+
attr_accessor :min_memory_mb
|
10959
|
+
|
10960
|
+
def initialize(**args)
|
10961
|
+
update!(**args)
|
10962
|
+
end
|
10963
|
+
|
10964
|
+
# Update properties of this object
|
10965
|
+
def update!(**args)
|
10966
|
+
@min_guest_cpu_count = args[:min_guest_cpu_count] if args.key?(:min_guest_cpu_count)
|
10967
|
+
@min_memory_mb = args[:min_memory_mb] if args.key?(:min_memory_mb)
|
10968
|
+
end
|
10969
|
+
end
|
10970
|
+
|
10971
|
+
#
|
10972
|
+
class LicensesListResponse
|
10973
|
+
include Google::Apis::Core::Hashable
|
10974
|
+
|
10975
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
10976
|
+
# Corresponds to the JSON property `id`
|
10977
|
+
# @return [String]
|
10978
|
+
attr_accessor :id
|
10979
|
+
|
10980
|
+
# A list of License resources.
|
10981
|
+
# Corresponds to the JSON property `items`
|
10982
|
+
# @return [Array<Google::Apis::ComputeBeta::License>]
|
10983
|
+
attr_accessor :items
|
10984
|
+
|
10985
|
+
# [Output Only] This token allows you to get the next page of results for list
|
10986
|
+
# requests. If the number of results is larger than maxResults, use the
|
10987
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
10988
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
10989
|
+
# continue paging through the results.
|
10990
|
+
# Corresponds to the JSON property `nextPageToken`
|
10991
|
+
# @return [String]
|
10992
|
+
attr_accessor :next_page_token
|
10993
|
+
|
10994
|
+
# [Output Only] Server-defined URL for this resource.
|
10995
|
+
# Corresponds to the JSON property `selfLink`
|
10996
|
+
# @return [String]
|
10997
|
+
attr_accessor :self_link
|
10998
|
+
|
10999
|
+
# [Output Only] Informational warning message.
|
11000
|
+
# Corresponds to the JSON property `warning`
|
11001
|
+
# @return [Google::Apis::ComputeBeta::LicensesListResponse::Warning]
|
11002
|
+
attr_accessor :warning
|
11003
|
+
|
11004
|
+
def initialize(**args)
|
11005
|
+
update!(**args)
|
11006
|
+
end
|
11007
|
+
|
11008
|
+
# Update properties of this object
|
11009
|
+
def update!(**args)
|
11010
|
+
@id = args[:id] if args.key?(:id)
|
11011
|
+
@items = args[:items] if args.key?(:items)
|
11012
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
11013
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
11014
|
+
@warning = args[:warning] if args.key?(:warning)
|
11015
|
+
end
|
11016
|
+
|
11017
|
+
# [Output Only] Informational warning message.
|
11018
|
+
class Warning
|
11019
|
+
include Google::Apis::Core::Hashable
|
11020
|
+
|
11021
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
11022
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
11023
|
+
# Corresponds to the JSON property `code`
|
11024
|
+
# @return [String]
|
11025
|
+
attr_accessor :code
|
11026
|
+
|
11027
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
11028
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
11029
|
+
# Corresponds to the JSON property `data`
|
11030
|
+
# @return [Array<Google::Apis::ComputeBeta::LicensesListResponse::Warning::Datum>]
|
11031
|
+
attr_accessor :data
|
11032
|
+
|
11033
|
+
# [Output Only] A human-readable description of the warning code.
|
11034
|
+
# Corresponds to the JSON property `message`
|
11035
|
+
# @return [String]
|
11036
|
+
attr_accessor :message
|
11037
|
+
|
11038
|
+
def initialize(**args)
|
11039
|
+
update!(**args)
|
11040
|
+
end
|
11041
|
+
|
11042
|
+
# Update properties of this object
|
11043
|
+
def update!(**args)
|
11044
|
+
@code = args[:code] if args.key?(:code)
|
11045
|
+
@data = args[:data] if args.key?(:data)
|
11046
|
+
@message = args[:message] if args.key?(:message)
|
11047
|
+
end
|
11048
|
+
|
11049
|
+
#
|
11050
|
+
class Datum
|
11051
|
+
include Google::Apis::Core::Hashable
|
11052
|
+
|
11053
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
11054
|
+
# For example, for warnings where there are no results in a list request for a
|
11055
|
+
# particular zone, this key might be scope and the key value might be the zone
|
11056
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
11057
|
+
# suggested replacement, or a warning about invalid network settings (for
|
11058
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
11059
|
+
# for IP forwarding).
|
11060
|
+
# Corresponds to the JSON property `key`
|
11061
|
+
# @return [String]
|
11062
|
+
attr_accessor :key
|
11063
|
+
|
11064
|
+
# [Output Only] A warning data value corresponding to the key.
|
11065
|
+
# Corresponds to the JSON property `value`
|
11066
|
+
# @return [String]
|
11067
|
+
attr_accessor :value
|
11068
|
+
|
11069
|
+
def initialize(**args)
|
11070
|
+
update!(**args)
|
11071
|
+
end
|
11072
|
+
|
11073
|
+
# Update properties of this object
|
11074
|
+
def update!(**args)
|
11075
|
+
@key = args[:key] if args.key?(:key)
|
11076
|
+
@value = args[:value] if args.key?(:value)
|
11077
|
+
end
|
11078
|
+
end
|
10786
11079
|
end
|
10787
11080
|
end
|
10788
11081
|
|
@@ -15615,6 +15908,11 @@ module Google
|
|
15615
15908
|
# @return [Hash<String,String>]
|
15616
15909
|
attr_accessor :labels
|
15617
15910
|
|
15911
|
+
# Integer license codes indicating which licenses are attached to this snapshot.
|
15912
|
+
# Corresponds to the JSON property `licenseCodes`
|
15913
|
+
# @return [Array<Fixnum>]
|
15914
|
+
attr_accessor :license_codes
|
15915
|
+
|
15618
15916
|
# [Output Only] A list of public visible licenses that apply to this snapshot.
|
15619
15917
|
# This can be because the original image had licenses attached (such as a
|
15620
15918
|
# Windows image).
|
@@ -15692,6 +15990,7 @@ module Google
|
|
15692
15990
|
@kind = args[:kind] if args.key?(:kind)
|
15693
15991
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
15694
15992
|
@labels = args[:labels] if args.key?(:labels)
|
15993
|
+
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
15695
15994
|
@licenses = args[:licenses] if args.key?(:licenses)
|
15696
15995
|
@name = args[:name] if args.key?(:name)
|
15697
15996
|
@self_link = args[:self_link] if args.key?(:self_link)
|