google-apis-managedidentities_v1beta1 0.1.0 → 0.6.0
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/CHANGELOG.md +22 -0
- data/lib/google/apis/managedidentities_v1beta1.rb +1 -1
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +111 -54
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +33 -14
- data/lib/google/apis/managedidentities_v1beta1/service.rb +127 -8
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 532e739a19b4828eb6a9fb7f3f90dc1e199a3c844573ad88cce1dac1c301c5d6
|
4
|
+
data.tar.gz: 37344de0a389e739d8b8e407fac5b8c0faa5b7d7117d1aab10b25dd9f43f5838
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb045b0960273042359449ea2bf788b25ec9442e6125b7ddc24a9f611bdea8b5c21150f5c5e094e4fd386f21c2cc26f2cad8bf48418faaf1da03af90070ca0e2
|
7
|
+
data.tar.gz: b2a24979275a360654d4af67a8a78ee1df7097b835aba7243ac44155ac1699ea4eae9d4bf991c7467e889679476ea4321f7a3d42a62ab33d6cf65ec847bb13a5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1beta1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-03-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210324
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210305
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-13)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210209
|
19
|
+
|
20
|
+
### v0.2.0 (2021-01-20)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210112
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta1'
|
32
32
|
|
33
|
-
#
|
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
|
@@ -275,6 +275,13 @@ module Google
|
|
275
275
|
# @return [String]
|
276
276
|
attr_accessor :admin
|
277
277
|
|
278
|
+
# Optional. Configuration for audit logs. True if audit logs are enabled, else
|
279
|
+
# false. Default is audit logs disabled.
|
280
|
+
# Corresponds to the JSON property `auditLogsEnabled`
|
281
|
+
# @return [Boolean]
|
282
|
+
attr_accessor :audit_logs_enabled
|
283
|
+
alias_method :audit_logs_enabled?, :audit_logs_enabled
|
284
|
+
|
278
285
|
# Optional. The full names of the Google Compute Engine [networks](/compute/docs/
|
279
286
|
# networks-and-firewalls#networks) the domain instance is connected to. Networks
|
280
287
|
# can be added using UpdateDomain. The domain is only available on networks
|
@@ -349,6 +356,7 @@ module Google
|
|
349
356
|
# Update properties of this object
|
350
357
|
def update!(**args)
|
351
358
|
@admin = args[:admin] if args.key?(:admin)
|
359
|
+
@audit_logs_enabled = args[:audit_logs_enabled] if args.key?(:audit_logs_enabled)
|
352
360
|
@authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
|
353
361
|
@create_time = args[:create_time] if args.key?(:create_time)
|
354
362
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
@@ -721,9 +729,9 @@ module Google
|
|
721
729
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
722
730
|
include Google::Apis::Core::Hashable
|
723
731
|
|
724
|
-
#
|
725
|
-
#
|
726
|
-
#
|
732
|
+
# This field is deprecated, and will be always set to true since reschedule can
|
733
|
+
# happen multiple times now. This field should not be removed until all service
|
734
|
+
# producers remove this for their customers.
|
727
735
|
# Corresponds to the JSON property `canReschedule`
|
728
736
|
# @return [Boolean]
|
729
737
|
attr_accessor :can_reschedule
|
@@ -741,6 +749,14 @@ module Google
|
|
741
749
|
# @return [String]
|
742
750
|
attr_accessor :rollout_management_policy
|
743
751
|
|
752
|
+
# schedule_deadline_time is the time deadline any schedule start time cannot go
|
753
|
+
# beyond, including reschedule. It's normally the initial schedule start time
|
754
|
+
# plus maintenance window length (1 day or 1 week). Maintenance cannot be
|
755
|
+
# scheduled to start beyond this deadline.
|
756
|
+
# Corresponds to the JSON property `scheduleDeadlineTime`
|
757
|
+
# @return [String]
|
758
|
+
attr_accessor :schedule_deadline_time
|
759
|
+
|
744
760
|
# The scheduled start time for the maintenance.
|
745
761
|
# Corresponds to the JSON property `startTime`
|
746
762
|
# @return [String]
|
@@ -755,6 +771,7 @@ module Google
|
|
755
771
|
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
756
772
|
@end_time = args[:end_time] if args.key?(:end_time)
|
757
773
|
@rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
|
774
|
+
@schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
|
758
775
|
@start_time = args[:start_time] if args.key?(:start_time)
|
759
776
|
end
|
760
777
|
end
|
@@ -772,6 +789,12 @@ module Google
|
|
772
789
|
attr_accessor :exclude
|
773
790
|
alias_method :exclude?, :exclude
|
774
791
|
|
792
|
+
# Optional. If the update call is triggered from rollback, set the value as true.
|
793
|
+
# Corresponds to the JSON property `isRollback`
|
794
|
+
# @return [Boolean]
|
795
|
+
attr_accessor :is_rollback
|
796
|
+
alias_method :is_rollback?, :is_rollback
|
797
|
+
|
775
798
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
776
799
|
# key must be of the type name of the oneof policy name defined in
|
777
800
|
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
@@ -789,6 +812,7 @@ module Google
|
|
789
812
|
# Update properties of this object
|
790
813
|
def update!(**args)
|
791
814
|
@exclude = args[:exclude] if args.key?(:exclude)
|
815
|
+
@is_rollback = args[:is_rollback] if args.key?(:is_rollback)
|
792
816
|
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
793
817
|
end
|
794
818
|
end
|
@@ -830,6 +854,35 @@ module Google
|
|
830
854
|
end
|
831
855
|
end
|
832
856
|
|
857
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
858
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
859
|
+
include Google::Apis::Core::Hashable
|
860
|
+
|
861
|
+
# An entry in the eligibilities map specifies an eligibility for a particular
|
862
|
+
# SLI for the given instance. The SLI key in the name must be a valid SLI name
|
863
|
+
# specified in the Eligibility Exporter binary flags otherwise an error will be
|
864
|
+
# emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
|
865
|
+
# has been defined in the binary flags but the eligibilities map does not
|
866
|
+
# contain it, the corresponding SLI time series will not be emitted by the
|
867
|
+
# Eligibility Exporter. This ensures a smooth rollout and compatibility between
|
868
|
+
# the data produced by different versions of the Eligibility Exporters. If
|
869
|
+
# eligibilities map contains a key for an SLI which has not been declared in the
|
870
|
+
# binary flags, there will be an error message emitted in the Eligibility
|
871
|
+
# Exporter log and the metric for the SLI in question will not be emitted.
|
872
|
+
# Corresponds to the JSON property `eligibilities`
|
873
|
+
# @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
|
874
|
+
attr_accessor :eligibilities
|
875
|
+
|
876
|
+
def initialize(**args)
|
877
|
+
update!(**args)
|
878
|
+
end
|
879
|
+
|
880
|
+
# Update properties of this object
|
881
|
+
def update!(**args)
|
882
|
+
@eligibilities = args[:eligibilities] if args.key?(:eligibilities)
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
833
886
|
# Describes provisioned dataplane resources.
|
834
887
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
835
888
|
include Google::Apis::Core::Hashable
|
@@ -912,8 +965,7 @@ module Google
|
|
912
965
|
attr_accessor :reason
|
913
966
|
|
914
967
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
915
|
-
# that the instance should be excluded from all SLIs
|
916
|
-
# configuration.
|
968
|
+
# that the instance should be excluded from all SLIs.
|
917
969
|
# Corresponds to the JSON property `sliName`
|
918
970
|
# @return [String]
|
919
971
|
attr_accessor :sli_name
|
@@ -970,6 +1022,11 @@ module Google
|
|
970
1022
|
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
971
1023
|
attr_accessor :nodes
|
972
1024
|
|
1025
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
1026
|
+
# Corresponds to the JSON property `perSliEligibility`
|
1027
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
1028
|
+
attr_accessor :per_sli_eligibility
|
1029
|
+
|
973
1030
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
974
1031
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
975
1032
|
# and must not be empty.
|
@@ -986,6 +1043,7 @@ module Google
|
|
986
1043
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
987
1044
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
988
1045
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1046
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
989
1047
|
@tier = args[:tier] if args.key?(:tier)
|
990
1048
|
end
|
991
1049
|
end
|
@@ -1072,7 +1130,7 @@ module Google
|
|
1072
1130
|
end
|
1073
1131
|
end
|
1074
1132
|
|
1075
|
-
#
|
1133
|
+
# ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
|
1076
1134
|
# method.
|
1077
1135
|
class ListSqlIntegrationsResponse
|
1078
1136
|
include Google::Apis::Core::Hashable
|
@@ -1083,7 +1141,7 @@ module Google
|
|
1083
1141
|
# @return [String]
|
1084
1142
|
attr_accessor :next_page_token
|
1085
1143
|
|
1086
|
-
# A list of
|
1144
|
+
# A list of SqlIntegrations of a domain.
|
1087
1145
|
# Corresponds to the JSON property `sqlIntegrations`
|
1088
1146
|
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::SqlIntegration>]
|
1089
1147
|
attr_accessor :sql_integrations
|
@@ -1503,53 +1561,6 @@ module Google
|
|
1503
1561
|
end
|
1504
1562
|
end
|
1505
1563
|
|
1506
|
-
# Represents the SQL instance integrated with AD.
|
1507
|
-
class SqlIntegration
|
1508
|
-
include Google::Apis::Core::Hashable
|
1509
|
-
|
1510
|
-
# Output only. The time sql integration was created. Synthetic field is
|
1511
|
-
# populated automatically by CCFE.
|
1512
|
-
# Corresponds to the JSON property `createTime`
|
1513
|
-
# @return [String]
|
1514
|
-
attr_accessor :create_time
|
1515
|
-
|
1516
|
-
# The unique name of the sql integration in the form of `projects/`project_id`/
|
1517
|
-
# locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
|
1518
|
-
# Corresponds to the JSON property `name`
|
1519
|
-
# @return [String]
|
1520
|
-
attr_accessor :name
|
1521
|
-
|
1522
|
-
# The full resource name of an integrated sql instance TODO(b/161918255) Add
|
1523
|
-
# resource type annotation post CloudSQL API fix.
|
1524
|
-
# Corresponds to the JSON property `sqlInstance`
|
1525
|
-
# @return [String]
|
1526
|
-
attr_accessor :sql_instance
|
1527
|
-
|
1528
|
-
# Output only. The current state of the sql integration.
|
1529
|
-
# Corresponds to the JSON property `state`
|
1530
|
-
# @return [String]
|
1531
|
-
attr_accessor :state
|
1532
|
-
|
1533
|
-
# Output only. The time sql integration was updated. Synthetic field is
|
1534
|
-
# populated automatically by CCFE.
|
1535
|
-
# Corresponds to the JSON property `updateTime`
|
1536
|
-
# @return [String]
|
1537
|
-
attr_accessor :update_time
|
1538
|
-
|
1539
|
-
def initialize(**args)
|
1540
|
-
update!(**args)
|
1541
|
-
end
|
1542
|
-
|
1543
|
-
# Update properties of this object
|
1544
|
-
def update!(**args)
|
1545
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1546
|
-
@name = args[:name] if args.key?(:name)
|
1547
|
-
@sql_instance = args[:sql_instance] if args.key?(:sql_instance)
|
1548
|
-
@state = args[:state] if args.key?(:state)
|
1549
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
1550
|
-
end
|
1551
|
-
end
|
1552
|
-
|
1553
1564
|
# Configure the schedule.
|
1554
1565
|
class Schedule
|
1555
1566
|
include Google::Apis::Core::Hashable
|
@@ -1628,6 +1639,52 @@ module Google
|
|
1628
1639
|
end
|
1629
1640
|
end
|
1630
1641
|
|
1642
|
+
# Represents the Sql instance integrated with AD.
|
1643
|
+
class SqlIntegration
|
1644
|
+
include Google::Apis::Core::Hashable
|
1645
|
+
|
1646
|
+
# Output only. The time sql integration was created. Synthetic field is
|
1647
|
+
# populated automatically by CCFE.
|
1648
|
+
# Corresponds to the JSON property `createTime`
|
1649
|
+
# @return [String]
|
1650
|
+
attr_accessor :create_time
|
1651
|
+
|
1652
|
+
# The unique name of the sql integration in the form of `projects/`project_id`/
|
1653
|
+
# locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
|
1654
|
+
# Corresponds to the JSON property `name`
|
1655
|
+
# @return [String]
|
1656
|
+
attr_accessor :name
|
1657
|
+
|
1658
|
+
# The full resource name of an integrated sql instance
|
1659
|
+
# Corresponds to the JSON property `sqlInstance`
|
1660
|
+
# @return [String]
|
1661
|
+
attr_accessor :sql_instance
|
1662
|
+
|
1663
|
+
# Output only. The current state of the sql integration.
|
1664
|
+
# Corresponds to the JSON property `state`
|
1665
|
+
# @return [String]
|
1666
|
+
attr_accessor :state
|
1667
|
+
|
1668
|
+
# Output only. The time sql integration was updated. Synthetic field is
|
1669
|
+
# populated automatically by CCFE.
|
1670
|
+
# Corresponds to the JSON property `updateTime`
|
1671
|
+
# @return [String]
|
1672
|
+
attr_accessor :update_time
|
1673
|
+
|
1674
|
+
def initialize(**args)
|
1675
|
+
update!(**args)
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
# Update properties of this object
|
1679
|
+
def update!(**args)
|
1680
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1681
|
+
@name = args[:name] if args.key?(:name)
|
1682
|
+
@sql_instance = args[:sql_instance] if args.key?(:sql_instance)
|
1683
|
+
@state = args[:state] if args.key?(:state)
|
1684
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
|
1631
1688
|
# The `Status` type defines a logical error model that is suitable for different
|
1632
1689
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1633
1690
|
# 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 ManagedidentitiesV1beta1
|
18
18
|
# Version of the google-apis-managedidentities_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210324"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -226,19 +232,19 @@ module Google
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
227
233
|
end
|
228
234
|
|
229
|
-
class
|
235
|
+
class Schedule
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
233
239
|
end
|
234
240
|
|
235
|
-
class
|
241
|
+
class SetIamPolicyRequest
|
236
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
243
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
239
245
|
end
|
240
246
|
|
241
|
-
class
|
247
|
+
class SqlIntegration
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
249
|
|
244
250
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -358,6 +364,7 @@ module Google
|
|
358
364
|
# @private
|
359
365
|
class Representation < Google::Apis::Core::JsonRepresentation
|
360
366
|
property :admin, as: 'admin'
|
367
|
+
property :audit_logs_enabled, as: 'auditLogsEnabled'
|
361
368
|
collection :authorized_networks, as: 'authorizedNetworks'
|
362
369
|
property :create_time, as: 'createTime'
|
363
370
|
property :fqdn, as: 'fqdn'
|
@@ -456,6 +463,7 @@ module Google
|
|
456
463
|
property :can_reschedule, as: 'canReschedule'
|
457
464
|
property :end_time, as: 'endTime'
|
458
465
|
property :rollout_management_policy, as: 'rolloutManagementPolicy'
|
466
|
+
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
|
459
467
|
property :start_time, as: 'startTime'
|
460
468
|
end
|
461
469
|
end
|
@@ -464,6 +472,7 @@ module Google
|
|
464
472
|
# @private
|
465
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
466
474
|
property :exclude, as: 'exclude'
|
475
|
+
property :is_rollback, as: 'isRollback'
|
467
476
|
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1beta1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1beta1::MaintenancePolicy::Representation
|
468
477
|
|
469
478
|
end
|
@@ -479,6 +488,14 @@ module Google
|
|
479
488
|
end
|
480
489
|
end
|
481
490
|
|
491
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
492
|
+
# @private
|
493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
+
hash :eligibilities, as: 'eligibilities', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
495
|
+
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
482
499
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
483
500
|
# @private
|
484
501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -514,6 +531,8 @@ module Google
|
|
514
531
|
|
515
532
|
collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
516
533
|
|
534
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
535
|
+
|
517
536
|
property :tier, as: 'tier'
|
518
537
|
end
|
519
538
|
end
|
@@ -647,17 +666,6 @@ module Google
|
|
647
666
|
end
|
648
667
|
end
|
649
668
|
|
650
|
-
class SqlIntegration
|
651
|
-
# @private
|
652
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
-
property :create_time, as: 'createTime'
|
654
|
-
property :name, as: 'name'
|
655
|
-
property :sql_instance, as: 'sqlInstance'
|
656
|
-
property :state, as: 'state'
|
657
|
-
property :update_time, as: 'updateTime'
|
658
|
-
end
|
659
|
-
end
|
660
|
-
|
661
669
|
class Schedule
|
662
670
|
# @private
|
663
671
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -676,6 +684,17 @@ module Google
|
|
676
684
|
end
|
677
685
|
end
|
678
686
|
|
687
|
+
class SqlIntegration
|
688
|
+
# @private
|
689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
690
|
+
property :create_time, as: 'createTime'
|
691
|
+
property :name, as: 'name'
|
692
|
+
property :sql_instance, as: 'sqlInstance'
|
693
|
+
property :state, as: 'state'
|
694
|
+
property :update_time, as: 'updateTime'
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
679
698
|
class Status
|
680
699
|
# @private
|
681
700
|
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
|
-
#
|
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
|
91
|
+
# The maximum number of results to return. If not set, the service will select a
|
92
|
+
# default.
|
90
93
|
# @param [String] page_token
|
91
|
-
#
|
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
|
@@ -163,7 +167,7 @@ module Google
|
|
163
167
|
# restrictions: * Must contain only lowercase letters, numbers, periods and
|
164
168
|
# hyphens. * Must start with a letter. * Must contain between 2-64 characters. *
|
165
169
|
# Must end with a number or a letter. * Must not start with period. * First
|
166
|
-
#
|
170
|
+
# segment length (mydomain form example above) shouldn't exceed 15 chars. * The
|
167
171
|
# last segment cannot be fully numeric. * Must be unique within the customer
|
168
172
|
# project.
|
169
173
|
# @param [String] fields
|
@@ -600,7 +604,7 @@ module Google
|
|
600
604
|
|
601
605
|
# Gets details of a single sqlIntegration.
|
602
606
|
# @param [String] name
|
603
|
-
# Required.
|
607
|
+
# Required. SqlIntegration resource name using the form: `projects/`project_id`/
|
604
608
|
# locations/global/domains/*/sqlIntegrations/`name``
|
605
609
|
# @param [String] fields
|
606
610
|
# Selector specifying which fields to include in a partial response.
|
@@ -629,13 +633,13 @@ module Google
|
|
629
633
|
execute_or_queue_command(command, &block)
|
630
634
|
end
|
631
635
|
|
632
|
-
# Lists
|
636
|
+
# Lists SqlIntegrations in a given domain.
|
633
637
|
# @param [String] parent
|
634
|
-
# Required. The resource name of the
|
638
|
+
# Required. The resource name of the SqlIntegrations using the form: `projects/`
|
635
639
|
# project_id`/locations/global/domains/*`
|
636
640
|
# @param [String] filter
|
637
641
|
# Optional. Filter specifying constraints of a list operation. For example, `
|
638
|
-
#
|
642
|
+
# SqlIntegration.name="sql"`.
|
639
643
|
# @param [String] order_by
|
640
644
|
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
641
645
|
# google.com/apis/design/design_patterns#sorting_order.
|
@@ -828,6 +832,121 @@ module Google
|
|
828
832
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
829
833
|
execute_or_queue_command(command, &block)
|
830
834
|
end
|
835
|
+
|
836
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
837
|
+
# resource exists and does not have a policy set.
|
838
|
+
# @param [String] resource
|
839
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
840
|
+
# operation documentation for the appropriate value for this field.
|
841
|
+
# @param [Fixnum] options_requested_policy_version
|
842
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
843
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
844
|
+
# policies with any conditional bindings must specify version 3. Policies
|
845
|
+
# without any conditional bindings may specify any valid value or leave the
|
846
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
847
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
848
|
+
# resource-policies).
|
849
|
+
# @param [String] fields
|
850
|
+
# Selector specifying which fields to include in a partial response.
|
851
|
+
# @param [String] quota_user
|
852
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
853
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
854
|
+
# @param [Google::Apis::RequestOptions] options
|
855
|
+
# Request-specific options
|
856
|
+
#
|
857
|
+
# @yield [result, err] Result & error if block supplied
|
858
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Policy] parsed result object
|
859
|
+
# @yieldparam err [StandardError] error object if request failed
|
860
|
+
#
|
861
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
|
862
|
+
#
|
863
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
864
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
865
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
866
|
+
def get_project_location_global_peering_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
867
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
868
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
869
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Policy
|
870
|
+
command.params['resource'] = resource unless resource.nil?
|
871
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
872
|
+
command.query['fields'] = fields unless fields.nil?
|
873
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
874
|
+
execute_or_queue_command(command, &block)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Sets the access control policy on the specified resource. Replaces any
|
878
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
879
|
+
# PERMISSION_DENIED` errors.
|
880
|
+
# @param [String] resource
|
881
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
882
|
+
# operation documentation for the appropriate value for this field.
|
883
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
884
|
+
# @param [String] fields
|
885
|
+
# Selector specifying which fields to include in a partial response.
|
886
|
+
# @param [String] quota_user
|
887
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
888
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
889
|
+
# @param [Google::Apis::RequestOptions] options
|
890
|
+
# Request-specific options
|
891
|
+
#
|
892
|
+
# @yield [result, err] Result & error if block supplied
|
893
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Policy] parsed result object
|
894
|
+
# @yieldparam err [StandardError] error object if request failed
|
895
|
+
#
|
896
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
|
897
|
+
#
|
898
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
899
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
900
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
901
|
+
def set_peering_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
902
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
903
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest::Representation
|
904
|
+
command.request_object = set_iam_policy_request_object
|
905
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
906
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Policy
|
907
|
+
command.params['resource'] = resource unless resource.nil?
|
908
|
+
command.query['fields'] = fields unless fields.nil?
|
909
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
910
|
+
execute_or_queue_command(command, &block)
|
911
|
+
end
|
912
|
+
|
913
|
+
# Returns permissions that a caller has on the specified resource. If the
|
914
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
915
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
916
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
917
|
+
# This operation may "fail open" without warning.
|
918
|
+
# @param [String] resource
|
919
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
920
|
+
# operation documentation for the appropriate value for this field.
|
921
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
922
|
+
# @param [String] fields
|
923
|
+
# Selector specifying which fields to include in a partial response.
|
924
|
+
# @param [String] quota_user
|
925
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
926
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
927
|
+
# @param [Google::Apis::RequestOptions] options
|
928
|
+
# Request-specific options
|
929
|
+
#
|
930
|
+
# @yield [result, err] Result & error if block supplied
|
931
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse] parsed result object
|
932
|
+
# @yieldparam err [StandardError] error object if request failed
|
933
|
+
#
|
934
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse]
|
935
|
+
#
|
936
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
937
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
938
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
939
|
+
def test_peering_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
940
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
941
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest::Representation
|
942
|
+
command.request_object = test_iam_permissions_request_object
|
943
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse::Representation
|
944
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse
|
945
|
+
command.params['resource'] = resource unless resource.nil?
|
946
|
+
command.query['fields'] = fields unless fields.nil?
|
947
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
948
|
+
execute_or_queue_command(command, &block)
|
949
|
+
end
|
831
950
|
|
832
951
|
protected
|
833
952
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-managedidentities_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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-
|
11
|
+
date: 2021-03-29 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_v1beta1/CHANGELOG.md
|
56
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.
|
56
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.6.0
|
57
57
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1beta1
|
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.
|
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.
|
73
|
+
rubygems_version: 3.2.13
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Simple REST client for Managed Service for Microsoft Active Directory API
|