google-apis-managedidentities_v1 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a43fe16e23d701dba1ad06ad928d256b0bcf24f0bb549bc12d28fa4a5d913541
4
- data.tar.gz: 73e674f76cb7c4a8b1ccf09114076b8abce123d3382b33975259bdf130542dce
3
+ metadata.gz: e87a7cc54b6e68d01197856ed6e4b34551bccc1afcca590ade67e75213268d7b
4
+ data.tar.gz: e7a44c707b83a9b151a9f3a9cc0498adba10d369733c9824083aea1ce144011a
5
5
  SHA512:
6
- metadata.gz: f6ca33cdaa6736d25ff555c704c64267bab25434a0a7cf49177d70b3e574ff82c085b650d72880ca68b4301a8cbdee91372b0312b05aee45a532bba685b43e90
7
- data.tar.gz: e7620a449799d4f8341faef395599063c5a1285dd65910ec747529813a2f851c9d3008a8fe6fcc14482388afb7e240aa0b6a11cbbe297581d58184a127286034
6
+ metadata.gz: 6b0b953fe6570b021e5d4542669fe619fc7fb65dccc8bf0f0c45a41ef0657856fce1787f5a10ab56ee91bd1299a5b82e43f485d880065e4ab11da46f3cd65e7f
7
+ data.tar.gz: 6d9d0486760d9fbcff5604ce501b5752ff9bf79d333bed5a40d9f11ef730b4f7069104236bb91159b5c1855edf16a301af51cec26ad56c9187340fdae4f096af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.8.0 (2021-06-11)
4
+
5
+ * Regenerated from discovery document revision 20210601
6
+ * Regenerated using generator version 0.3.0
7
+
3
8
  ### v0.7.0 (2021-05-19)
4
9
 
5
10
  * Unspecified changes
@@ -641,8 +641,10 @@ module Google
641
641
  # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
642
642
  attr_accessor :maintenance_settings
643
643
 
644
- # Unique name of the resource. It uses the form: `projects/`project_id`/
645
- # locations/`location_id`/instances/`instance_id``
644
+ # Unique name of the resource. It uses the form: `projects/`project_id|
645
+ # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
646
+ # project_id or project_number can be used, but keep it consistent with other
647
+ # APIs (e.g. RescheduleUpdate)
646
648
  # Corresponds to the JSON property `name`
647
649
  # @return [String]
648
650
  attr_accessor :name
@@ -989,13 +991,6 @@ module Google
989
991
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
990
992
  include Google::Apis::Core::Hashable
991
993
 
992
- # SloEligibility is a tuple containing eligibility value: true if an instance is
993
- # eligible for SLO calculation or false if it should be excluded from all SLO-
994
- # related calculations along with a user-defined reason.
995
- # Corresponds to the JSON property `eligibility`
996
- # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
997
- attr_accessor :eligibility
998
-
999
994
  # List of SLO exclusion windows. When multiple entries in the list match (
1000
995
  # matching the exclusion time-window against current time point) the exclusion
1001
996
  # reason used in the first matching entry will be published. It is not needed to
@@ -1036,7 +1031,6 @@ module Google
1036
1031
 
1037
1032
  # Update properties of this object
1038
1033
  def update!(**args)
1039
- @eligibility = args[:eligibility] if args.key?(:eligibility)
1040
1034
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1041
1035
  @nodes = args[:nodes] if args.key?(:nodes)
1042
1036
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -1126,6 +1120,39 @@ module Google
1126
1120
  end
1127
1121
  end
1128
1122
 
1123
+ # ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
1124
+ # method.
1125
+ class ListSqlIntegrationsResponse
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ # Token to retrieve the next page of results, or empty if there are no more
1129
+ # results in the list.
1130
+ # Corresponds to the JSON property `nextPageToken`
1131
+ # @return [String]
1132
+ attr_accessor :next_page_token
1133
+
1134
+ # A list of SQLIntegrations of a domain.
1135
+ # Corresponds to the JSON property `sqlIntegrations`
1136
+ # @return [Array<Google::Apis::ManagedidentitiesV1::SqlIntegration>]
1137
+ attr_accessor :sql_integrations
1138
+
1139
+ # A list of locations that could not be reached.
1140
+ # Corresponds to the JSON property `unreachable`
1141
+ # @return [Array<String>]
1142
+ attr_accessor :unreachable
1143
+
1144
+ def initialize(**args)
1145
+ update!(**args)
1146
+ end
1147
+
1148
+ # Update properties of this object
1149
+ def update!(**args)
1150
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1151
+ @sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations)
1152
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1153
+ end
1154
+ end
1155
+
1129
1156
  # A resource that represents Google Cloud Platform location.
1130
1157
  class Location
1131
1158
  include Google::Apis::Core::Hashable
@@ -1602,6 +1629,52 @@ module Google
1602
1629
  end
1603
1630
  end
1604
1631
 
1632
+ # Represents the Sql instance integrated with AD.
1633
+ class SqlIntegration
1634
+ include Google::Apis::Core::Hashable
1635
+
1636
+ # Output only. The time sql integration was created. Synthetic field is
1637
+ # populated automatically by CCFE.
1638
+ # Corresponds to the JSON property `createTime`
1639
+ # @return [String]
1640
+ attr_accessor :create_time
1641
+
1642
+ # The unique name of the sql integration in the form of `projects/`project_id`/
1643
+ # locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
1644
+ # Corresponds to the JSON property `name`
1645
+ # @return [String]
1646
+ attr_accessor :name
1647
+
1648
+ # The full resource name of an integrated sql instance
1649
+ # Corresponds to the JSON property `sqlInstance`
1650
+ # @return [String]
1651
+ attr_accessor :sql_instance
1652
+
1653
+ # Output only. The current state of the sql integration.
1654
+ # Corresponds to the JSON property `state`
1655
+ # @return [String]
1656
+ attr_accessor :state
1657
+
1658
+ # Output only. The time sql integration was updated. Synthetic field is
1659
+ # populated automatically by CCFE.
1660
+ # Corresponds to the JSON property `updateTime`
1661
+ # @return [String]
1662
+ attr_accessor :update_time
1663
+
1664
+ def initialize(**args)
1665
+ update!(**args)
1666
+ end
1667
+
1668
+ # Update properties of this object
1669
+ def update!(**args)
1670
+ @create_time = args[:create_time] if args.key?(:create_time)
1671
+ @name = args[:name] if args.key?(:name)
1672
+ @sql_instance = args[:sql_instance] if args.key?(:sql_instance)
1673
+ @state = args[:state] if args.key?(:state)
1674
+ @update_time = args[:update_time] if args.key?(:update_time)
1675
+ end
1676
+ end
1677
+
1605
1678
  # The `Status` type defines a logical error model that is suitable for different
1606
1679
  # programming environments, including REST APIs and RPC APIs. It is used by [
1607
1680
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1
18
18
  # Version of the google-apis-managedidentities_v1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210324"
25
+ REVISION = "20210601"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class ListSqlIntegrationsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class Location
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -238,6 +244,12 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class SqlIntegration
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class Status
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
@@ -512,8 +524,6 @@ module Google
512
524
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
513
525
  # @private
514
526
  class Representation < Google::Apis::Core::JsonRepresentation
515
- property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
516
-
517
527
  collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
518
528
 
519
529
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
@@ -552,6 +562,16 @@ module Google
552
562
  end
553
563
  end
554
564
 
565
+ class ListSqlIntegrationsResponse
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :next_page_token, as: 'nextPageToken'
569
+ collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1::SqlIntegration::Representation
570
+
571
+ collection :unreachable, as: 'unreachable'
572
+ end
573
+ end
574
+
555
575
  class Location
556
576
  # @private
557
577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +681,17 @@ module Google
661
681
  end
662
682
  end
663
683
 
684
+ class SqlIntegration
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :create_time, as: 'createTime'
688
+ property :name, as: 'name'
689
+ property :sql_instance, as: 'sqlInstance'
690
+ property :state, as: 'state'
691
+ property :update_time, as: 'updateTime'
692
+ end
693
+ end
694
+
664
695
  class Status
665
696
  # @private
666
697
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -88,7 +88,7 @@ module Google
88
88
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
89
  # AIP-160](https://google.aip.dev/160).
90
90
  # @param [Fixnum] page_size
91
- # The maximum number of results to return. If not set, the service will select a
91
+ # The maximum number of results to return. If not set, the service selects a
92
92
  # default.
93
93
  # @param [String] page_token
94
94
  # A page token received from the `next_page_token` field in the response. Send
@@ -602,6 +602,87 @@ module Google
602
602
  execute_or_queue_command(command, &block)
603
603
  end
604
604
 
605
+ # Gets details of a single sqlIntegration.
606
+ # @param [String] name
607
+ # Required. SQLIntegration resource name using the form: `projects/`project_id`/
608
+ # locations/global/domains/`domain`/sqlIntegrations/`name``
609
+ # @param [String] fields
610
+ # Selector specifying which fields to include in a partial response.
611
+ # @param [String] quota_user
612
+ # Available to use for quota purposes for server-side applications. Can be any
613
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
614
+ # @param [Google::Apis::RequestOptions] options
615
+ # Request-specific options
616
+ #
617
+ # @yield [result, err] Result & error if block supplied
618
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::SqlIntegration] parsed result object
619
+ # @yieldparam err [StandardError] error object if request failed
620
+ #
621
+ # @return [Google::Apis::ManagedidentitiesV1::SqlIntegration]
622
+ #
623
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
624
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
625
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
626
+ def get_project_location_global_domain_sql_integration(name, fields: nil, quota_user: nil, options: nil, &block)
627
+ command = make_simple_command(:get, 'v1/{+name}', options)
628
+ command.response_representation = Google::Apis::ManagedidentitiesV1::SqlIntegration::Representation
629
+ command.response_class = Google::Apis::ManagedidentitiesV1::SqlIntegration
630
+ command.params['name'] = name unless name.nil?
631
+ command.query['fields'] = fields unless fields.nil?
632
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
633
+ execute_or_queue_command(command, &block)
634
+ end
635
+
636
+ # Lists SqlIntegrations in a given domain.
637
+ # @param [String] parent
638
+ # Required. The resource name of the SqlIntegrations using the form: `projects/`
639
+ # project_id`/locations/global/domains/*`
640
+ # @param [String] filter
641
+ # Optional. Filter specifying constraints of a list operation. For example, `
642
+ # SqlIntegration.name="sql"`.
643
+ # @param [String] order_by
644
+ # Optional. Specifies the ordering of results following syntax at https://cloud.
645
+ # google.com/apis/design/design_patterns#sorting_order.
646
+ # @param [Fixnum] page_size
647
+ # Optional. The maximum number of items to return. If not specified, a default
648
+ # value of 1000 will be used by the service. Regardless of the page_size value,
649
+ # the response may include a partial list and a caller should only rely on
650
+ # response'ANIZATIONs next_page_token to determine if there are more instances
651
+ # left to be queried.
652
+ # @param [String] page_token
653
+ # Optional. The next_page_token value returned from a previous List request, if
654
+ # any.
655
+ # @param [String] fields
656
+ # Selector specifying which fields to include in a partial response.
657
+ # @param [String] quota_user
658
+ # Available to use for quota purposes for server-side applications. Can be any
659
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
660
+ # @param [Google::Apis::RequestOptions] options
661
+ # Request-specific options
662
+ #
663
+ # @yield [result, err] Result & error if block supplied
664
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse] parsed result object
665
+ # @yieldparam err [StandardError] error object if request failed
666
+ #
667
+ # @return [Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse]
668
+ #
669
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
670
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
671
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
672
+ def list_project_location_global_domain_sql_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
673
+ command = make_simple_command(:get, 'v1/{+parent}/sqlIntegrations', options)
674
+ command.response_representation = Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse::Representation
675
+ command.response_class = Google::Apis::ManagedidentitiesV1::ListSqlIntegrationsResponse
676
+ command.params['parent'] = parent unless parent.nil?
677
+ command.query['filter'] = filter unless filter.nil?
678
+ command.query['orderBy'] = order_by unless order_by.nil?
679
+ command.query['pageSize'] = page_size unless page_size.nil?
680
+ command.query['pageToken'] = page_token unless page_token.nil?
681
+ command.query['fields'] = fields unless fields.nil?
682
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
683
+ execute_or_queue_command(command, &block)
684
+ end
685
+
605
686
  # Starts asynchronous cancellation on a long-running operation. The server makes
606
687
  # a best effort to cancel the operation, but success is not guaranteed. If the
607
688
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -53,7 +53,7 @@ licenses:
53
53
  metadata:
54
54
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
55
55
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1/CHANGELOG.md
56
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.7.0
56
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.8.0
57
57
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1
58
58
  post_install_message:
59
59
  rdoc_options: []