Class: Google::Apis::BaremetalsolutionV2::ProvisioningQuota
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::ProvisioningQuota
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
A provisioning quota for a given project.
Instance Attribute Summary collapse
-
#asset_type ⇒ String
The asset type of this provisioning quota.
-
#available_count ⇒ Fixnum
The available count of the provisioning quota.
-
#gcp_service ⇒ String
The gcp service of the provisioning quota.
-
#instance_quota ⇒ Google::Apis::BaremetalsolutionV2::InstanceQuota
A resource budget.
-
#location ⇒ String
The specific location of the provisioining quota.
-
#name ⇒ String
Output only.
-
#network_bandwidth ⇒ Fixnum
Network bandwidth, Gbps Corresponds to the JSON property
networkBandwidth
. -
#server_count ⇒ Fixnum
Server count.
-
#storage_gib ⇒ Fixnum
Storage size (GB).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProvisioningQuota
constructor
A new instance of ProvisioningQuota.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProvisioningQuota
Returns a new instance of ProvisioningQuota.
1935 1936 1937 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_type ⇒ String
The asset type of this provisioning quota.
Corresponds to the JSON property assetType
1893 1894 1895 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1893 def asset_type @asset_type end |
#available_count ⇒ Fixnum
The available count of the provisioning quota.
Corresponds to the JSON property availableCount
1898 1899 1900 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1898 def available_count @available_count end |
#gcp_service ⇒ String
The gcp service of the provisioning quota.
Corresponds to the JSON property gcpService
1903 1904 1905 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1903 def gcp_service @gcp_service end |
#instance_quota ⇒ Google::Apis::BaremetalsolutionV2::InstanceQuota
A resource budget.
Corresponds to the JSON property instanceQuota
1908 1909 1910 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1908 def instance_quota @instance_quota end |
#location ⇒ String
The specific location of the provisioining quota.
Corresponds to the JSON property location
1913 1914 1915 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1913 def location @location end |
#name ⇒ String
Output only. The name of the provisioning quota.
Corresponds to the JSON property name
1918 1919 1920 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1918 def name @name end |
#network_bandwidth ⇒ Fixnum
Network bandwidth, Gbps
Corresponds to the JSON property networkBandwidth
1923 1924 1925 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1923 def network_bandwidth @network_bandwidth end |
#server_count ⇒ Fixnum
Server count.
Corresponds to the JSON property serverCount
1928 1929 1930 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1928 def server_count @server_count end |
#storage_gib ⇒ Fixnum
Storage size (GB).
Corresponds to the JSON property storageGib
1933 1934 1935 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1933 def storage_gib @storage_gib end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1940 def update!(**args) @asset_type = args[:asset_type] if args.key?(:asset_type) @available_count = args[:available_count] if args.key?(:available_count) @gcp_service = args[:gcp_service] if args.key?(:gcp_service) @instance_quota = args[:instance_quota] if args.key?(:instance_quota) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @network_bandwidth = args[:network_bandwidth] if args.key?(:network_bandwidth) @server_count = args[:server_count] if args.key?(:server_count) @storage_gib = args[:storage_gib] if args.key?(:storage_gib) end |