oci 2.3.2 → 2.3.3
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 +4 -4
- data/README.md +6 -5
- data/lib/oci.rb +1 -0
- data/lib/oci/api_client.rb +2 -2
- data/lib/oci/auth/federation_client.rb +1 -0
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +1 -1
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
- data/lib/oci/core/compute_client.rb +7 -5
- data/lib/oci/core/models/create_boot_volume_details.rb +17 -1
- data/lib/oci/core/models/egress_security_rule.rb +19 -5
- data/lib/oci/core/models/fast_connect_provider_service.rb +2 -2
- data/lib/oci/core/models/ingress_security_rule.rb +16 -7
- data/lib/oci/core/models/instance.rb +0 -2
- data/lib/oci/core/models/launch_instance_details.rb +0 -2
- data/lib/oci/core/models/route_rule.rb +19 -8
- data/lib/oci/core/models/virtual_circuit.rb +6 -1
- data/lib/oci/regions.rb +2 -1
- data/lib/oci/resource_search/models/free_text_search_details.rb +158 -0
- data/lib/oci/resource_search/models/queryable_field_description.rb +225 -0
- data/lib/oci/resource_search/models/resource_summary.rb +272 -0
- data/lib/oci/resource_search/models/resource_summary_collection.rb +146 -0
- data/lib/oci/resource_search/models/resource_type.rb +158 -0
- data/lib/oci/resource_search/models/search_context.rb +149 -0
- data/lib/oci/resource_search/models/search_details.rb +192 -0
- data/lib/oci/resource_search/models/structured_search_details.rb +158 -0
- data/lib/oci/resource_search/resource_search.rb +26 -0
- data/lib/oci/resource_search/resource_search_client.rb +279 -0
- data/lib/oci/resource_search/resource_search_client_composite_operations.rb +24 -0
- data/lib/oci/resource_search/util.rb +2 -0
- data/lib/oci/version.rb +1 -1
- metadata +14 -2
@@ -0,0 +1,24 @@
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
|
3
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
4
|
+
module OCI
|
5
|
+
# This class provides a wrapper around {OCI::ResourceSearch::ResourceSearchClient} and offers convenience methods
|
6
|
+
# for operations that would otherwise need to be chained together. For example, instead of performing an action
|
7
|
+
# on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
8
|
+
# to enter a given state, you can call a single method in this class to accomplish the same functionality
|
9
|
+
class ResourceSearch::ResourceSearchClientCompositeOperations
|
10
|
+
# The {OCI::ResourceSearch::ResourceSearchClient} used to communicate with the service_client
|
11
|
+
#
|
12
|
+
# @return [OCI::ResourceSearch::ResourceSearchClient]
|
13
|
+
attr_reader :service_client
|
14
|
+
|
15
|
+
# Initializes a new ResourceSearchClientCompositeOperations
|
16
|
+
#
|
17
|
+
# @param [OCI::ResourceSearch::ResourceSearchClient] service_client The client used to communicate with the service.
|
18
|
+
# Defaults to a new service client created via {OCI::ResourceSearch::ResourceSearchClient#initialize} with no arguments
|
19
|
+
def initialize(service_client = OCI::ResourceSearch::ResourceSearchClient.new)
|
20
|
+
@service_client = service_client
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
data/lib/oci/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oracle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -657,6 +657,18 @@ files:
|
|
657
657
|
- "./lib/oci/object_storage/transfer/upload_manager_config.rb"
|
658
658
|
- "./lib/oci/object_storage/util.rb"
|
659
659
|
- "./lib/oci/regions.rb"
|
660
|
+
- "./lib/oci/resource_search/models/free_text_search_details.rb"
|
661
|
+
- "./lib/oci/resource_search/models/queryable_field_description.rb"
|
662
|
+
- "./lib/oci/resource_search/models/resource_summary.rb"
|
663
|
+
- "./lib/oci/resource_search/models/resource_summary_collection.rb"
|
664
|
+
- "./lib/oci/resource_search/models/resource_type.rb"
|
665
|
+
- "./lib/oci/resource_search/models/search_context.rb"
|
666
|
+
- "./lib/oci/resource_search/models/search_details.rb"
|
667
|
+
- "./lib/oci/resource_search/models/structured_search_details.rb"
|
668
|
+
- "./lib/oci/resource_search/resource_search.rb"
|
669
|
+
- "./lib/oci/resource_search/resource_search_client.rb"
|
670
|
+
- "./lib/oci/resource_search/resource_search_client_composite_operations.rb"
|
671
|
+
- "./lib/oci/resource_search/util.rb"
|
660
672
|
- "./lib/oci/response.rb"
|
661
673
|
- "./lib/oci/response_headers.rb"
|
662
674
|
- "./lib/oci/retry/functions/should_retry_on_error.rb"
|