oci 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -5
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/api_client.rb +2 -2
  5. data/lib/oci/auth/federation_client.rb +1 -0
  6. data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +1 -1
  7. data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +2 -1
  8. data/lib/oci/core/compute_client.rb +7 -5
  9. data/lib/oci/core/models/create_boot_volume_details.rb +17 -1
  10. data/lib/oci/core/models/egress_security_rule.rb +19 -5
  11. data/lib/oci/core/models/fast_connect_provider_service.rb +2 -2
  12. data/lib/oci/core/models/ingress_security_rule.rb +16 -7
  13. data/lib/oci/core/models/instance.rb +0 -2
  14. data/lib/oci/core/models/launch_instance_details.rb +0 -2
  15. data/lib/oci/core/models/route_rule.rb +19 -8
  16. data/lib/oci/core/models/virtual_circuit.rb +6 -1
  17. data/lib/oci/regions.rb +2 -1
  18. data/lib/oci/resource_search/models/free_text_search_details.rb +158 -0
  19. data/lib/oci/resource_search/models/queryable_field_description.rb +225 -0
  20. data/lib/oci/resource_search/models/resource_summary.rb +272 -0
  21. data/lib/oci/resource_search/models/resource_summary_collection.rb +146 -0
  22. data/lib/oci/resource_search/models/resource_type.rb +158 -0
  23. data/lib/oci/resource_search/models/search_context.rb +149 -0
  24. data/lib/oci/resource_search/models/search_details.rb +192 -0
  25. data/lib/oci/resource_search/models/structured_search_details.rb +158 -0
  26. data/lib/oci/resource_search/resource_search.rb +26 -0
  27. data/lib/oci/resource_search/resource_search_client.rb +279 -0
  28. data/lib/oci/resource_search/resource_search_client_composite_operations.rb +24 -0
  29. data/lib/oci/resource_search/util.rb +2 -0
  30. data/lib/oci/version.rb +1 -1
  31. 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
@@ -0,0 +1,2 @@
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
+
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  module OCI
4
- VERSION = '2.3.2'.freeze
4
+ VERSION = '2.3.3'.freeze
5
5
  end
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.2
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 00:00:00.000000000 Z
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"