google-apis-compute_v1 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17cf8aab7aae1229f4e8aa8311e9c73e9d8d6e84f50c200d5637f872a7c17b4f
4
- data.tar.gz: 3039e58e52da7123bf142d4bd8bbc2495bca0a27fe02f32477a3f138668a71b3
3
+ metadata.gz: 8714ad5dfd5a7a8aac292826fcb44cfcbc77d629cb6d1a2b7b279dbf633aae2a
4
+ data.tar.gz: 516fff2e1a8a5d8e1bbc1d47eabe7f634b36bff2fad8e1d547b2e1118308252b
5
5
  SHA512:
6
- metadata.gz: 8088f3094ffd40c4315d110ca511c83705400b6eb6d70a0867f0389e8b152cc89d8cb3c28157858bffed8fd4c5eb7e856dcfd10fcb4f7b34ccf00003a68770ec
7
- data.tar.gz: 2a407ca5f11c6ba0f5fb8ba97f6d6e20ae835c4960f581dae86fbf29a5a439497d9ebcc8fbc1d01be2ed436c166a1c386ac8b17641a367ee77292514fefc4ab4
6
+ metadata.gz: d6cf039b03c787d2e0a2258808fcbf62fcc62c1d9f10fceb234563bfe9b5c44e22bb97353b0a0d24a703d900ff5a1aca4405eeca91d26fb970f01c83f69c4b93
7
+ data.tar.gz: 7139a483b0d984a82ef344c0f96bb9470619ffb297666210c1b6a585c18c378b002544e1b345358ed33c74ea4aab3d694ecbe6c5032e24fc659c92d84cb97b66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.9.0 (2021-05-05)
4
+
5
+ * Regenerated from discovery document revision 20210415
6
+
3
7
  ### v0.8.0 (2021-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20210316
@@ -1042,6 +1042,13 @@ module Google
1042
1042
  attr_accessor :enable_nested_virtualization
1043
1043
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
1044
1044
 
1045
+ # The number of threads per physical core. To disable simultaneous
1046
+ # multithreading (SMT) set this to 1. If unset, the maximum number of threads
1047
+ # supported per core by the underlying processor is assumed.
1048
+ # Corresponds to the JSON property `threadsPerCore`
1049
+ # @return [Fixnum]
1050
+ attr_accessor :threads_per_core
1051
+
1045
1052
  def initialize(**args)
1046
1053
  update!(**args)
1047
1054
  end
@@ -1049,6 +1056,7 @@ module Google
1049
1056
  # Update properties of this object
1050
1057
  def update!(**args)
1051
1058
  @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
1059
+ @threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
1052
1060
  end
1053
1061
  end
1054
1062
 
@@ -4104,16 +4112,17 @@ module Google
4104
4112
 
4105
4113
  # The minimum number of instances to create. If no min_count is specified then
4106
4114
  # count is used as the default value. If min_count instances cannot be created,
4107
- # then no instances will be created.
4115
+ # then no instances will be created and instances already created will be
4116
+ # deleted.
4108
4117
  # Corresponds to the JSON property `minCount`
4109
4118
  # @return [Fixnum]
4110
4119
  attr_accessor :min_count
4111
4120
 
4112
4121
  # The string pattern used for the names of the VMs. Either name_pattern or
4113
- # predefined_names must be set. The pattern should contain one consecutive
4122
+ # per_instance_properties must be set. The pattern should contain one continuous
4114
4123
  # sequence of placeholder hash characters (#) with each character corresponding
4115
4124
  # to one digit of the generated instance name. Example: name_pattern of inst-####
4116
- # will generate instance names like inst-0001, inst-0002, ... . If there
4125
+ # will generate instance names such as inst-0001, inst-0002, ... . If there
4117
4126
  # already exist instance(s) whose names match the name pattern in the same
4118
4127
  # project and zone, then the generated instance numbers will start after the
4119
4128
  # biggest existing number. For example, if there exists an instance with name
@@ -7752,17 +7761,6 @@ module Google
7752
7761
  # @return [Array<String>]
7753
7762
  attr_accessor :target_resources
7754
7763
 
7755
- # A list of secure labels that controls which instances the firewall rule
7756
- # applies to. If targetSecureLabel are specified, then the firewall rule applies
7757
- # only to instances in the VPC network that have one of those secure labels.
7758
- # targetSecureLabel may not be set at the same time as targetServiceAccounts. If
7759
- # neither targetServiceAccounts nor targetSecureLabel are specified, the
7760
- # firewall rule applies to all instances on the specified network. Maximum
7761
- # number of target label values allowed is 256.
7762
- # Corresponds to the JSON property `targetSecureLabels`
7763
- # @return [Array<String>]
7764
- attr_accessor :target_secure_labels
7765
-
7766
7764
  # A list of service accounts indicating the sets of instances that are applied
7767
7765
  # with this rule.
7768
7766
  # Corresponds to the JSON property `targetServiceAccounts`
@@ -7785,7 +7783,6 @@ module Google
7785
7783
  @priority = args[:priority] if args.key?(:priority)
7786
7784
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
7787
7785
  @target_resources = args[:target_resources] if args.key?(:target_resources)
7788
- @target_secure_labels = args[:target_secure_labels] if args.key?(:target_secure_labels)
7789
7786
  @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
7790
7787
  end
7791
7788
  end
@@ -7811,12 +7808,6 @@ module Google
7811
7808
  # @return [Array<String>]
7812
7809
  attr_accessor :src_ip_ranges
7813
7810
 
7814
- # List of firewall label values, which should be matched at the source of the
7815
- # traffic. Maximum number of source label values allowed is 256.
7816
- # Corresponds to the JSON property `srcSecureLabels`
7817
- # @return [Array<String>]
7818
- attr_accessor :src_secure_labels
7819
-
7820
7811
  def initialize(**args)
7821
7812
  update!(**args)
7822
7813
  end
@@ -7826,7 +7817,6 @@ module Google
7826
7817
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
7827
7818
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
7828
7819
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
7829
- @src_secure_labels = args[:src_secure_labels] if args.key?(:src_secure_labels)
7830
7820
  end
7831
7821
  end
7832
7822
 
@@ -11983,11 +11973,6 @@ module Google
11983
11973
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
11984
11974
  attr_accessor :network_interfaces
11985
11975
 
11986
- # PostKeyRevocationActionType of the instance.
11987
- # Corresponds to the JSON property `postKeyRevocationActionType`
11988
- # @return [String]
11989
- attr_accessor :post_key_revocation_action_type
11990
-
11991
11976
  # The private IPv6 google access type for the VM. If not specified, use
11992
11977
  # INHERIT_FROM_SUBNETWORK as default.
11993
11978
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
@@ -12102,7 +12087,6 @@ module Google
12102
12087
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
12103
12088
  @name = args[:name] if args.key?(:name)
12104
12089
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
12105
- @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
12106
12090
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
12107
12091
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
12108
12092
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@@ -14615,11 +14599,6 @@ module Google
14615
14599
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
14616
14600
  attr_accessor :network_interfaces
14617
14601
 
14618
- # PostKeyRevocationActionType of the instance.
14619
- # Corresponds to the JSON property `postKeyRevocationActionType`
14620
- # @return [String]
14621
- attr_accessor :post_key_revocation_action_type
14622
-
14623
14602
  # The private IPv6 google access type for VMs. If not specified, use
14624
14603
  # INHERIT_FROM_SUBNETWORK as default.
14625
14604
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
@@ -14677,7 +14656,6 @@ module Google
14677
14656
  @metadata = args[:metadata] if args.key?(:metadata)
14678
14657
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
14679
14658
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
14680
- @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
14681
14659
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
14682
14660
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
14683
14661
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@@ -15618,8 +15596,8 @@ module Google
15618
15596
  # only for interconnect attachment that has the encryption option as IPSEC. The
15619
15597
  # addresses must be RFC 1918 IP address ranges. When creating HA VPN gateway
15620
15598
  # over the interconnect attachment, if the attachment is configured to use an
15621
- # RFC 1918 IP address, then the VPN gateway?s IP address will be allocated from
15622
- # the IP address range specified here. For example, if the HA VPN gateway?s
15599
+ # RFC 1918 IP address, then the VPN gateway's IP address will be allocated from
15600
+ # the IP address range specified here. For example, if the HA VPN gateway's
15623
15601
  # interface 0 is paired to this interconnect attachment, then an RFC 1918 IP
15624
15602
  # address for the VPN gateway interface 0 will be allocated from the IP address
15625
15603
  # specified for this interconnect attachment. If this field is not specified for
@@ -17279,7 +17257,7 @@ module Google
17279
17257
  include Google::Apis::Core::Hashable
17280
17258
 
17281
17259
  # Location configurations mapped by location name. Currently only zone names are
17282
- # supported and must be represented as valid internal URLs, like: zones/us-
17260
+ # supported and must be represented as valid internal URLs, such as zones/us-
17283
17261
  # central1-a.
17284
17262
  # Corresponds to the JSON property `locations`
17285
17263
  # @return [Hash<String,Google::Apis::ComputeV1::LocationPolicyLocation>]
@@ -17299,7 +17277,7 @@ module Google
17299
17277
  class LocationPolicyLocation
17300
17278
  include Google::Apis::Core::Hashable
17301
17279
 
17302
- #
17280
+ # Preference for a given locaction: ALLOW or DENY.
17303
17281
  # Corresponds to the JSON property `preference`
17304
17282
  # @return [String]
17305
17283
  attr_accessor :preference
@@ -31295,9 +31273,7 @@ module Google
31295
31273
  # applicable to subnetworks that have the purpose set to
31296
31274
  # INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load
31297
31275
  # balancer are being drained. A subnetwork that is draining cannot be used or
31298
- # modified until it reaches a status of READY CREATING: Subnetwork is
31299
- # provisioning DELETING: Subnetwork is being deleted UPDATING: Subnetwork is
31300
- # being updated
31276
+ # modified until it reaches a status of READY
31301
31277
  # Corresponds to the JSON property `state`
31302
31278
  # @return [String]
31303
31279
  attr_accessor :state
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210316"
25
+ REVISION = "20210415"
26
26
  end
27
27
  end
28
28
  end
@@ -5324,6 +5324,7 @@ module Google
5324
5324
  # @private
5325
5325
  class Representation < Google::Apis::Core::JsonRepresentation
5326
5326
  property :enable_nested_virtualization, as: 'enableNestedVirtualization'
5327
+ property :threads_per_core, as: 'threadsPerCore'
5327
5328
  end
5328
5329
  end
5329
5330
 
@@ -6833,7 +6834,6 @@ module Google
6833
6834
  property :priority, as: 'priority'
6834
6835
  property :rule_tuple_count, as: 'ruleTupleCount'
6835
6836
  collection :target_resources, as: 'targetResources'
6836
- collection :target_secure_labels, as: 'targetSecureLabels'
6837
6837
  collection :target_service_accounts, as: 'targetServiceAccounts'
6838
6838
  end
6839
6839
  end
@@ -6845,7 +6845,6 @@ module Google
6845
6845
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config::Representation
6846
6846
 
6847
6847
  collection :src_ip_ranges, as: 'srcIpRanges'
6848
- collection :src_secure_labels, as: 'srcSecureLabels'
6849
6848
  end
6850
6849
  end
6851
6850
 
@@ -7765,7 +7764,6 @@ module Google
7765
7764
  property :name, as: 'name'
7766
7765
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
7767
7766
 
7768
- property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
7769
7767
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
7770
7768
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
7771
7769
 
@@ -8455,7 +8453,6 @@ module Google
8455
8453
  property :min_cpu_platform, as: 'minCpuPlatform'
8456
8454
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
8457
8455
 
8458
- property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
8459
8456
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
8460
8457
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
8461
8458
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.8.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Compute Engine API V1