Class: Google::Apis::GameservicesV1beta::GameServerDeployment
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::GameServerDeployment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb
Overview
A game server deployment resource.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Human readable description of the game server delpoyment.
-
#etag ⇒ String
ETag of the resource.
-
#labels ⇒ Hash<String,String>
The labels associated with this game server deployment.
-
#name ⇒ String
The resource name of the game server deployment, in the following form:
projects/project/locations/location/gameServerDeployments/deployment``. -
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GameServerDeployment
constructor
A new instance of GameServerDeployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GameServerDeployment
Returns a new instance of GameServerDeployment.
896 897 898 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The creation time.
Corresponds to the JSON property createTime
865 866 867 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 865 def create_time @create_time end |
#description ⇒ String
Human readable description of the game server delpoyment.
Corresponds to the JSON property description
870 871 872 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 870 def description @description end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
875 876 877 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 875 def etag @etag end |
#labels ⇒ Hash<String,String>
The labels associated with this game server deployment. Each label is a key-
value pair.
Corresponds to the JSON property labels
881 882 883 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 881 def labels @labels end |
#name ⇒ String
The resource name of the game server deployment, in the following form:
projects/project/locations/location/gameServerDeployments/deployment`.
For example,projects/my-project/locations/global/gameServerDeployments/my-
deployment.
Corresponds to the JSON propertyname`
889 890 891 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 889 def name @name end |
#update_time ⇒ String
Output only. The last-modified time.
Corresponds to the JSON property updateTime
894 895 896 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 894 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
901 902 903 904 905 906 907 908 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 901 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |