google-apis-gameservices_v1beta 0.1.0 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1b465c55185873bcd508d4ee331b7e4b099615d27ce2078d1460cfffdd80751
4
- data.tar.gz: ed404cea8f65d4123bf559be67fe4d4dd969d41b714d43df93df36c9536ebb5c
3
+ metadata.gz: 368c9c47934d1f1d401d0009904f11842eb1b7d3499db8d8bd14434fe222c490
4
+ data.tar.gz: e278ab8df885403ae14b01def1b15b3466b1e01596f75d92de207496cc148252
5
5
  SHA512:
6
- metadata.gz: 9cadd92ed13c758dc63c846437f0b6fbb24f6861ed588e809bdc0677f9d5408f1c4294eb35a3d82d709c82f09ba0d79114065b219d51014e62687dbb4f75654c
7
- data.tar.gz: 7df2ab2c83deddd9af34a0ddc614699921fe059c5cd12cfdd93ea3567b925defb1afc90626396ec2675846bccfd56a3d4967bc35231a1ce30093ce8196771b81
6
+ metadata.gz: ed964956d293003107effc00b0da5e9c2addf630f9a8f039ecebf48b5c2d7f2f266c8eb18134015ebc7a7846828f2f4d2fa92442268215d191f2258ddd343aa5
7
+ data.tar.gz: e9cb266fae4f6e0c0ef58325d9cf37ddb3a49ad11d56d5435c2549a9a8bfaaa7f57e207d5b16b153b61d23e5c29c40ad53abda936c25ec9f61b42d44a5744b73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gameservices_v1beta
2
2
 
3
+ ### v0.2.0 (2021-01-12)
4
+
5
+ * Regenerated from discovery document revision 20210107
6
+
3
7
  ### v0.1.0 (2021-01-07)
4
8
 
5
9
  * Regenerated using generator version 0.1.1
@@ -672,6 +672,14 @@ module Google
672
672
  class GameServerCluster
673
673
  include Google::Apis::Core::Hashable
674
674
 
675
+ # Optional. The allocation priority assigned to the game server cluster. Game
676
+ # server clusters receive new game server allocations based on the relative
677
+ # allocation priorites set for each cluster, if the realm is configured for
678
+ # multicluster allocation.
679
+ # Corresponds to the JSON property `allocationPriority`
680
+ # @return [String]
681
+ attr_accessor :allocation_priority
682
+
675
683
  # The game server cluster connection information.
676
684
  # Corresponds to the JSON property `connectionInfo`
677
685
  # @return [Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo]
@@ -717,6 +725,7 @@ module Google
717
725
 
718
726
  # Update properties of this object
719
727
  def update!(**args)
728
+ @allocation_priority = args[:allocation_priority] if args.key?(:allocation_priority)
720
729
  @connection_info = args[:connection_info] if args.key?(:connection_info)
721
730
  @create_time = args[:create_time] if args.key?(:create_time)
722
731
  @description = args[:description] if args.key?(:description)
@@ -736,6 +745,12 @@ module Google
736
745
  # @return [Google::Apis::GameservicesV1beta::GkeClusterReference]
737
746
  attr_accessor :gke_cluster_reference
738
747
 
748
+ # GkeHubClusterReference represents a reference to a Kubernetes cluster
749
+ # registered through GKE Hub.
750
+ # Corresponds to the JSON property `gkeHubClusterReference`
751
+ # @return [Google::Apis::GameservicesV1beta::GkeHubClusterReference]
752
+ attr_accessor :gke_hub_cluster_reference
753
+
739
754
  # Namespace designated on the game server cluster where the Agones game server
740
755
  # instances will be created. Existence of the namespace will be validated during
741
756
  # creation.
@@ -750,6 +765,7 @@ module Google
750
765
  # Update properties of this object
751
766
  def update!(**args)
752
767
  @gke_cluster_reference = args[:gke_cluster_reference] if args.key?(:gke_cluster_reference)
768
+ @gke_hub_cluster_reference = args[:gke_hub_cluster_reference] if args.key?(:gke_hub_cluster_reference)
753
769
  @namespace = args[:namespace] if args.key?(:namespace)
754
770
  end
755
771
  end
@@ -971,6 +987,31 @@ module Google
971
987
  end
972
988
  end
973
989
 
990
+ # GkeHubClusterReference represents a reference to a Kubernetes cluster
991
+ # registered through GKE Hub.
992
+ class GkeHubClusterReference
993
+ include Google::Apis::Core::Hashable
994
+
995
+ # The full or partial name of a GKE Hub membership, using one of the following
996
+ # forms: * `https://gkehub.googleapis.com/v1beta1/projects/`project_id`/
997
+ # locations/global/memberships/`membership_id`` * `projects/`project_id`/
998
+ # locations/global/memberships/`membership_id`` * ``membership_id`` If project
999
+ # is not specified, the project of the GameServerCluster resource is used to
1000
+ # generate the full name of the GKE Hub membership.
1001
+ # Corresponds to the JSON property `membership`
1002
+ # @return [String]
1003
+ attr_accessor :membership
1004
+
1005
+ def initialize(**args)
1006
+ update!(**args)
1007
+ end
1008
+
1009
+ # Update properties of this object
1010
+ def update!(**args)
1011
+ @membership = args[:membership] if args.key?(:membership)
1012
+ end
1013
+ end
1014
+
974
1015
  # The label selector, used to group labels on the resources.
975
1016
  class LabelSelector
976
1017
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GameservicesV1beta
18
18
  # Version of the google-apis-gameservices_v1beta gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201208"
25
+ REVISION = "20210107"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class GkeHubClusterReference
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class LabelSelector
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -563,6 +569,7 @@ module Google
563
569
  class GameServerCluster
564
570
  # @private
565
571
  class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :allocation_priority, as: 'allocationPriority'
566
573
  property :connection_info, as: 'connectionInfo', class: Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo, decorator: Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo::Representation
567
574
 
568
575
  property :create_time, as: 'createTime'
@@ -579,6 +586,8 @@ module Google
579
586
  class Representation < Google::Apis::Core::JsonRepresentation
580
587
  property :gke_cluster_reference, as: 'gkeClusterReference', class: Google::Apis::GameservicesV1beta::GkeClusterReference, decorator: Google::Apis::GameservicesV1beta::GkeClusterReference::Representation
581
588
 
589
+ property :gke_hub_cluster_reference, as: 'gkeHubClusterReference', class: Google::Apis::GameservicesV1beta::GkeHubClusterReference, decorator: Google::Apis::GameservicesV1beta::GkeHubClusterReference::Representation
590
+
582
591
  property :namespace, as: 'namespace'
583
592
  end
584
593
  end
@@ -639,6 +648,13 @@ module Google
639
648
  end
640
649
  end
641
650
 
651
+ class GkeHubClusterReference
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ property :membership, as: 'membership'
655
+ end
656
+ end
657
+
642
658
  class LabelSelector
643
659
  # @private
644
660
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gameservices_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 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-gameservices_v1beta/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-gameservices_v1beta/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gameservices_v1beta/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gameservices_v1beta
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.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Game Services API V1beta