google-apis-managedidentities_v1 0.3.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: dabd976fb51e489eba805106db7e976ccdf2d09322024e60f861429b926aca55
4
- data.tar.gz: 7f154d84f39ba0b805f515b9ae306424f665c12ee4175ec9e1bf54b8cafe488e
3
+ metadata.gz: e87a7cc54b6e68d01197856ed6e4b34551bccc1afcca590ade67e75213268d7b
4
+ data.tar.gz: e7a44c707b83a9b151a9f3a9cc0498adba10d369733c9824083aea1ce144011a
5
5
  SHA512:
6
- metadata.gz: 0e5dcf6a37d0116c2fd0df82f4e03b30118f5588b2986c5df425708ff52aad0244b13ab9ab722f8b756430c5fc8d5151ccf3fe9f6d2b884efb7ce0bf6dfba62c
7
- data.tar.gz: '08134d3f75522332dc2933a733ca34e071d67187566361d1f77865f22aa409113f7bb89d71807e51dd884272d7a19c03e986420649fed8806bafdb2812ffaec9'
6
+ metadata.gz: 6b0b953fe6570b021e5d4542669fe619fc7fb65dccc8bf0f0c45a41ef0657856fce1787f5a10ab56ee91bd1299a5b82e43f485d880065e4ab11da46f3cd65e7f
7
+ data.tar.gz: 6d9d0486760d9fbcff5604ce501b5752ff9bf79d333bed5a40d9f11ef730b4f7069104236bb91159b5c1855edf16a301af51cec26ad56c9187340fdae4f096af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
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
+
8
+ ### v0.7.0 (2021-05-19)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.6.0 (2021-03-26)
13
+
14
+ * Regenerated from discovery document revision 20210324
15
+
16
+ ### v0.5.0 (2021-03-12)
17
+
18
+ * Regenerated from discovery document revision 20210305
19
+ * Regenerated using generator version 0.2.0
20
+
21
+ ### v0.4.0 (2021-03-04)
22
+
23
+ * Unspecified changes
24
+
3
25
  ### v0.3.0 (2021-02-13)
4
26
 
5
27
  * Regenerated from discovery document revision 20210209
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -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
@@ -725,9 +727,9 @@ module Google
725
727
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
726
728
  include Google::Apis::Core::Hashable
727
729
 
728
- # Can this scheduled update be rescheduled? By default, it's true and API needs
729
- # to do explicitly check whether it's set, if it's set as false explicitly, it's
730
- # false
730
+ # This field is deprecated, and will be always set to true since reschedule can
731
+ # happen multiple times now. This field should not be removed until all service
732
+ # producers remove this for their customers.
731
733
  # Corresponds to the JSON property `canReschedule`
732
734
  # @return [Boolean]
733
735
  attr_accessor :can_reschedule
@@ -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.3.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.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210209"
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
@@ -84,11 +84,15 @@ module Google
84
84
  # @param [String] name
85
85
  # The resource that owns the locations collection, if applicable.
86
86
  # @param [String] filter
87
- # The standard list filter.
87
+ # A filter to narrow down results to a preferred subset. The filtering language
88
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
+ # AIP-160](https://google.aip.dev/160).
88
90
  # @param [Fixnum] page_size
89
- # The standard list page size.
91
+ # The maximum number of results to return. If not set, the service selects a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
94
+ # A page token received from the `next_page_token` field in the response. Send
95
+ # that page token to receive the subsequent page.
92
96
  # @param [String] fields
93
97
  # Selector specifying which fields to include in a partial response.
94
98
  # @param [String] quota_user
@@ -598,6 +602,87 @@ module Google
598
602
  execute_or_queue_command(command, &block)
599
603
  end
600
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
+
601
686
  # Starts asynchronous cancellation on a long-running operation. The server makes
602
687
  # a best effort to cancel the operation, but success is not guaranteed. If the
603
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.3.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-02-15 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.3.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: []
@@ -63,14 +63,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: '2.4'
66
+ version: '2.5'
67
67
  required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  requirements: []
73
- rubygems_version: 3.2.6
73
+ rubygems_version: 3.2.17
74
74
  signing_key:
75
75
  specification_version: 4
76
76
  summary: Simple REST client for Managed Service for Microsoft Active Directory API