Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Response message for QueryDeployedModels method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse

Returns a new instance of GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse.



15962
15963
15964
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15962

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deployed_model_refsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModelRef>

References to the DeployedModels that share the specified deploymentResourcePool. Corresponds to the JSON property deployedModelRefs



15938
15939
15940
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15938

def deployed_model_refs
  @deployed_model_refs
end

#deployed_modelsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModel>

DEPRECATED Use deployed_model_refs instead. Corresponds to the JSON property deployedModels



15943
15944
15945
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15943

def deployed_models
  @deployed_models
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


15949
15950
15951
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15949

def next_page_token
  @next_page_token
end

#total_deployed_model_countFixnum

The total number of DeployedModels on this DeploymentResourcePool. Corresponds to the JSON property totalDeployedModelCount

Returns:

  • (Fixnum)


15954
15955
15956
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15954

def total_deployed_model_count
  @total_deployed_model_count
end

#total_endpoint_countFixnum

The total number of Endpoints that have DeployedModels on this DeploymentResourcePool. Corresponds to the JSON property totalEndpointCount

Returns:

  • (Fixnum)


15960
15961
15962
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15960

def total_endpoint_count
  @total_endpoint_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15967
15968
15969
15970
15971
15972
15973
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15967

def update!(**args)
  @deployed_model_refs = args[:deployed_model_refs] if args.key?(:deployed_model_refs)
  @deployed_models = args[:deployed_models] if args.key?(:deployed_models)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @total_deployed_model_count = args[:total_deployed_model_count] if args.key?(:total_deployed_model_count)
  @total_endpoint_count = args[:total_endpoint_count] if args.key?(:total_endpoint_count)
end