Class: Google::Apis::ApimV1alpha::APIManagementService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::ApimV1alpha::APIManagementService
- Defined in:
- lib/google/apis/apim_v1alpha/service.rb
Overview
API Management API
Enables users to discover shadow APIs in existing Google Cloud infrastructure.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://apim.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#batch_edit_tags_api_observations(parent, batch_edit_tags_api_observations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::BatchEditTagsApiObservationsResponse
BatchEditTagsApiObservations adds or removes Tags for ApiObservations.
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_observation_job(parent, observation_job_object = nil, observation_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
CreateObservationJob creates a new ObservationJob but does not have any effecton its own.
-
#create_project_location_observation_source(parent, observation_source_object = nil, observation_source_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
CreateObservationSource creates a new ObservationSource but does not affect any deployed infrastructure.
-
#delete_project_location_observation_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
DeleteObservationJob deletes an ObservationJob.
-
#delete_project_location_observation_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
DeleteObservationSource deletes an observation source.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Empty
Deletes a long-running operation.
-
#disable_observation_job(name, disable_observation_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
Disables the given ObservationJob.
-
#enable_observation_job(name, enable_observation_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
Enables the given ObservationJob.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Location
Gets information about a location.
-
#get_project_location_observation_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ObservationJob
GetObservationJob retrieves a single ObservationJob by name.
-
#get_project_location_observation_job_api_observation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ApiObservation
GetApiObservation retrieves a single ApiObservation by name.
-
#get_project_location_observation_job_api_observation_api_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ApiOperation
GetApiOperation retrieves a single ApiOperation by name.
-
#get_project_location_observation_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ObservationSource
GetObservationSource retrieves a single ObservationSource by name.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
Gets the latest state of a long-running operation.
-
#initialize ⇒ APIManagementService
constructor
A new instance of APIManagementService.
-
#list_project_location_api_observation_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListApiObservationTagsResponse
ListApiObservationTags lists all extant tags on any observation in the given project.
-
#list_project_location_observation_job_api_observation_api_operations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListApiOperationsResponse
ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation.
-
#list_project_location_observation_job_api_observations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListApiObservationsResponse
ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.
-
#list_project_location_observation_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListObservationJobsResponse
ListObservationJobs gets all ObservationJobs for a given project and location.
-
#list_project_location_observation_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListObservationSourcesResponse
ListObservationSources gets all ObservationSources for a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListLocationsResponse
Lists information about the supported locations for this service.
Constructor Details
#initialize ⇒ APIManagementService
Returns a new instance of APIManagementService.
47 48 49 50 51 52 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-apim_v1alpha', client_version: Google::Apis::ApimV1alpha::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#batch_edit_tags_api_observations(parent, batch_edit_tags_api_observations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::BatchEditTagsApiObservationsResponse
BatchEditTagsApiObservations adds or removes Tags for ApiObservations.
420 421 422 423 424 425 426 427 428 429 430 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 420 def (parent, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/apiObservations:batchEditTags', ) command.request_representation = Google::Apis::ApimV1alpha::BatchEditTagsApiObservationsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApimV1alpha::BatchEditTagsApiObservationsResponse::Representation command.response_class = Google::Apis::ApimV1alpha::BatchEditTagsApiObservationsResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
771 772 773 774 775 776 777 778 779 780 781 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 771 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+name}:cancel', ) command.request_representation = Google::Apis::ApimV1alpha::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::ApimV1alpha::Empty::Representation command.response_class = Google::Apis::ApimV1alpha::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_observation_job(parent, observation_job_object = nil, observation_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
CreateObservationJob creates a new ObservationJob but does not have any effecton its own. It is a configuration that can be used in an Observation Job to collect data about existing APIs.
208 209 210 211 212 213 214 215 216 217 218 219 220 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 208 def create_project_location_observation_job(parent, observation_job_object = nil, observation_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/observationJobs', ) command.request_representation = Google::Apis::ApimV1alpha::ObservationJob::Representation command.request_object = observation_job_object command.response_representation = Google::Apis::ApimV1alpha::Operation::Representation command.response_class = Google::Apis::ApimV1alpha::Operation command.params['parent'] = parent unless parent.nil? command.query['observationJobId'] = observation_job_id unless observation_job_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_observation_source(parent, observation_source_object = nil, observation_source_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
CreateObservationSource creates a new ObservationSource but does not affect any deployed infrastructure. It is a configuration that can be used in an Observation Job to collect data about APIs running in user's dataplane.
621 622 623 624 625 626 627 628 629 630 631 632 633 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 621 def create_project_location_observation_source(parent, observation_source_object = nil, observation_source_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/observationSources', ) command.request_representation = Google::Apis::ApimV1alpha::ObservationSource::Representation command.request_object = observation_source_object command.response_representation = Google::Apis::ApimV1alpha::Operation::Representation command.response_class = Google::Apis::ApimV1alpha::Operation command.params['parent'] = parent unless parent.nil? command.query['observationSourceId'] = observation_source_id unless observation_source_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_observation_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
DeleteObservationJob deletes an ObservationJob. This method will fail if the observation job is currently being used by any ObservationSource, even if not enabled.
245 246 247 248 249 250 251 252 253 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 245 def delete_project_location_observation_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::Operation::Representation command.response_class = Google::Apis::ApimV1alpha::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_observation_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
DeleteObservationSource deletes an observation source. This method will fail if the observation source is currently being used by any ObservationJob, even if not enabled.
658 659 660 661 662 663 664 665 666 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 658 def delete_project_location_observation_source(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::Operation::Representation command.response_class = Google::Apis::ApimV1alpha::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED
.
806 807 808 809 810 811 812 813 814 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 806 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::Empty::Representation command.response_class = Google::Apis::ApimV1alpha::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#disable_observation_job(name, disable_observation_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
Disables the given ObservationJob.
277 278 279 280 281 282 283 284 285 286 287 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 277 def disable_observation_job(name, disable_observation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+name}:disable', ) command.request_representation = Google::Apis::ApimV1alpha::DisableObservationJobRequest::Representation command.request_object = disable_observation_job_request_object command.response_representation = Google::Apis::ApimV1alpha::Operation::Representation command.response_class = Google::Apis::ApimV1alpha::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#enable_observation_job(name, enable_observation_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
Enables the given ObservationJob.
311 312 313 314 315 316 317 318 319 320 321 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 311 def enable_observation_job(name, enable_observation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+name}:enable', ) command.request_representation = Google::Apis::ApimV1alpha::EnableObservationJobRequest::Representation command.request_object = enable_observation_job_request_object command.response_representation = Google::Apis::ApimV1alpha::Operation::Representation command.response_class = Google::Apis::ApimV1alpha::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Location
Gets information about a location.
74 75 76 77 78 79 80 81 82 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 74 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::Location::Representation command.response_class = Google::Apis::ApimV1alpha::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_observation_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ObservationJob
GetObservationJob retrieves a single ObservationJob by name.
344 345 346 347 348 349 350 351 352 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 344 def get_project_location_observation_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::ObservationJob::Representation command.response_class = Google::Apis::ApimV1alpha::ObservationJob command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_observation_job_api_observation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ApiObservation
GetApiObservation retrieves a single ApiObservation by name.
454 455 456 457 458 459 460 461 462 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 454 def get_project_location_observation_job_api_observation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::ApiObservation::Representation command.response_class = Google::Apis::ApimV1alpha::ApiObservation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_observation_job_api_observation_api_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ApiOperation
GetApiOperation retrieves a single ApiOperation by name.
530 531 532 533 534 535 536 537 538 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 530 def get_project_location_observation_job_api_observation_api_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::ApiOperation::Representation command.response_class = Google::Apis::ApimV1alpha::ApiOperation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_observation_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ObservationSource
GetObservationSource retrieves a single ObservationSource by name.
689 690 691 692 693 694 695 696 697 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 689 def get_project_location_observation_source(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::ObservationSource::Representation command.response_class = Google::Apis::ApimV1alpha::ObservationSource command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
837 838 839 840 841 842 843 844 845 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 837 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApimV1alpha::Operation::Representation command.response_class = Google::Apis::ApimV1alpha::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_observation_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListApiObservationTagsResponse
ListApiObservationTags lists all extant tags on any observation in the given project.
158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 158 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+parent}:listApiObservationTags', ) command.response_representation = Google::Apis::ApimV1alpha::ListApiObservationTagsResponse::Representation command.response_class = Google::Apis::ApimV1alpha::ListApiObservationTagsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_observation_job_api_observation_api_operations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListApiOperationsResponse
ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation.
572 573 574 575 576 577 578 579 580 581 582 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 572 def list_project_location_observation_job_api_observation_api_operations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+parent}/apiOperations', ) command.response_representation = Google::Apis::ApimV1alpha::ListApiOperationsResponse::Representation command.response_class = Google::Apis::ApimV1alpha::ListApiOperationsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_observation_job_api_observations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListApiObservationsResponse
ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.
496 497 498 499 500 501 502 503 504 505 506 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 496 def list_project_location_observation_job_api_observations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+parent}/apiObservations', ) command.response_representation = Google::Apis::ApimV1alpha::ListApiObservationsResponse::Representation command.response_class = Google::Apis::ApimV1alpha::ListApiObservationsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_observation_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListObservationJobsResponse
ListObservationJobs gets all ObservationJobs for a given project and location.
385 386 387 388 389 390 391 392 393 394 395 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 385 def list_project_location_observation_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+parent}/observationJobs', ) command.response_representation = Google::Apis::ApimV1alpha::ListObservationJobsResponse::Representation command.response_class = Google::Apis::ApimV1alpha::ListObservationJobsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_observation_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListObservationSourcesResponse
ListObservationSources gets all ObservationSources for a given project and location.
731 732 733 734 735 736 737 738 739 740 741 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 731 def list_project_location_observation_sources(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+parent}/observationSources', ) command.response_representation = Google::Apis::ApimV1alpha::ListObservationSourcesResponse::Representation command.response_class = Google::Apis::ApimV1alpha::ListObservationSourcesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
874 875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 874 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}/operations', ) command.response_representation = Google::Apis::ApimV1alpha::ListOperationsResponse::Representation command.response_class = Google::Apis::ApimV1alpha::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApimV1alpha::ListLocationsResponse
Lists information about the supported locations for this service.
114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/google/apis/apim_v1alpha/service.rb', line 114 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}/locations', ) command.response_representation = Google::Apis::ApimV1alpha::ListLocationsResponse::Representation command.response_class = Google::Apis::ApimV1alpha::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |