google-apis-managedidentities_v1beta1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +94 -54
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +31 -14
- data/lib/google/apis/managedidentities_v1beta1/service.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d5c94c493f1577ee07dd2eda17ff67ebf1cd33e341a730388dcfe1fd15f22bb
|
4
|
+
data.tar.gz: 9430491636b968c49fd809663335ed3618e65b8a5ef6e9340126a483739b69ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 243c6e8ee6c3e61bb0a695c8bfebb0b8a050e89c0d33ff7154386e9d5aec73843ec839d7616157f480e667dce976b3a40f59c682f2fa6ee4b5d0e0cf71a1dd44
|
7
|
+
data.tar.gz: 618763a7aabb186c66027a800b0c3bfdb0202cfd8ca6d55e46ffd8416693d90a6ac92ea2088110fb8f6e5aa7d81d81f9a59f6c94e4b3ac35b60fac0fb68b8672
|
data/CHANGELOG.md
CHANGED
@@ -751,9 +751,8 @@ module Google
|
|
751
751
|
|
752
752
|
# schedule_deadline_time is the time deadline any schedule start time cannot go
|
753
753
|
# beyond, including reschedule. It's normally the initial schedule start time
|
754
|
-
# plus
|
755
|
-
#
|
756
|
-
# time cannot go beyond this deadline.
|
754
|
+
# plus maintenance window length (1 day or 1 week). Maintenance cannot be
|
755
|
+
# scheduled to start beyond this deadline.
|
757
756
|
# Corresponds to the JSON property `scheduleDeadlineTime`
|
758
757
|
# @return [String]
|
759
758
|
attr_accessor :schedule_deadline_time
|
@@ -790,6 +789,12 @@ module Google
|
|
790
789
|
attr_accessor :exclude
|
791
790
|
alias_method :exclude?, :exclude
|
792
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
|
+
|
793
798
|
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
794
799
|
# key must be of the type name of the oneof policy name defined in
|
795
800
|
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
@@ -807,6 +812,7 @@ module Google
|
|
807
812
|
# Update properties of this object
|
808
813
|
def update!(**args)
|
809
814
|
@exclude = args[:exclude] if args.key?(:exclude)
|
815
|
+
@is_rollback = args[:is_rollback] if args.key?(:is_rollback)
|
810
816
|
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
811
817
|
end
|
812
818
|
end
|
@@ -848,6 +854,35 @@ module Google
|
|
848
854
|
end
|
849
855
|
end
|
850
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
|
+
|
851
886
|
# Describes provisioned dataplane resources.
|
852
887
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
853
888
|
include Google::Apis::Core::Hashable
|
@@ -930,8 +965,7 @@ module Google
|
|
930
965
|
attr_accessor :reason
|
931
966
|
|
932
967
|
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
933
|
-
# that the instance should be excluded from all SLIs
|
934
|
-
# configuration.
|
968
|
+
# that the instance should be excluded from all SLIs.
|
935
969
|
# Corresponds to the JSON property `sliName`
|
936
970
|
# @return [String]
|
937
971
|
attr_accessor :sli_name
|
@@ -988,6 +1022,11 @@ module Google
|
|
988
1022
|
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
989
1023
|
attr_accessor :nodes
|
990
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
|
+
|
991
1030
|
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
992
1031
|
# match the tiers specified in the service SLO configuration. Field is mandatory
|
993
1032
|
# and must not be empty.
|
@@ -1004,6 +1043,7 @@ module Google
|
|
1004
1043
|
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
1005
1044
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
1006
1045
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1046
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
1007
1047
|
@tier = args[:tier] if args.key?(:tier)
|
1008
1048
|
end
|
1009
1049
|
end
|
@@ -1090,7 +1130,7 @@ module Google
|
|
1090
1130
|
end
|
1091
1131
|
end
|
1092
1132
|
|
1093
|
-
#
|
1133
|
+
# ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
|
1094
1134
|
# method.
|
1095
1135
|
class ListSqlIntegrationsResponse
|
1096
1136
|
include Google::Apis::Core::Hashable
|
@@ -1101,7 +1141,7 @@ module Google
|
|
1101
1141
|
# @return [String]
|
1102
1142
|
attr_accessor :next_page_token
|
1103
1143
|
|
1104
|
-
# A list of
|
1144
|
+
# A list of SqlIntegrations of a domain.
|
1105
1145
|
# Corresponds to the JSON property `sqlIntegrations`
|
1106
1146
|
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::SqlIntegration>]
|
1107
1147
|
attr_accessor :sql_integrations
|
@@ -1521,53 +1561,6 @@ module Google
|
|
1521
1561
|
end
|
1522
1562
|
end
|
1523
1563
|
|
1524
|
-
# Represents the SQL instance integrated with AD.
|
1525
|
-
class SqlIntegration
|
1526
|
-
include Google::Apis::Core::Hashable
|
1527
|
-
|
1528
|
-
# Output only. The time sql integration was created. Synthetic field is
|
1529
|
-
# populated automatically by CCFE.
|
1530
|
-
# Corresponds to the JSON property `createTime`
|
1531
|
-
# @return [String]
|
1532
|
-
attr_accessor :create_time
|
1533
|
-
|
1534
|
-
# The unique name of the sql integration in the form of `projects/`project_id`/
|
1535
|
-
# locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
|
1536
|
-
# Corresponds to the JSON property `name`
|
1537
|
-
# @return [String]
|
1538
|
-
attr_accessor :name
|
1539
|
-
|
1540
|
-
# The full resource name of an integrated sql instance TODO(b/161918255) Add
|
1541
|
-
# resource type annotation post CloudSQL API fix.
|
1542
|
-
# Corresponds to the JSON property `sqlInstance`
|
1543
|
-
# @return [String]
|
1544
|
-
attr_accessor :sql_instance
|
1545
|
-
|
1546
|
-
# Output only. The current state of the sql integration.
|
1547
|
-
# Corresponds to the JSON property `state`
|
1548
|
-
# @return [String]
|
1549
|
-
attr_accessor :state
|
1550
|
-
|
1551
|
-
# Output only. The time sql integration was updated. Synthetic field is
|
1552
|
-
# populated automatically by CCFE.
|
1553
|
-
# Corresponds to the JSON property `updateTime`
|
1554
|
-
# @return [String]
|
1555
|
-
attr_accessor :update_time
|
1556
|
-
|
1557
|
-
def initialize(**args)
|
1558
|
-
update!(**args)
|
1559
|
-
end
|
1560
|
-
|
1561
|
-
# Update properties of this object
|
1562
|
-
def update!(**args)
|
1563
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1564
|
-
@name = args[:name] if args.key?(:name)
|
1565
|
-
@sql_instance = args[:sql_instance] if args.key?(:sql_instance)
|
1566
|
-
@state = args[:state] if args.key?(:state)
|
1567
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
1568
|
-
end
|
1569
|
-
end
|
1570
|
-
|
1571
1564
|
# Configure the schedule.
|
1572
1565
|
class Schedule
|
1573
1566
|
include Google::Apis::Core::Hashable
|
@@ -1646,6 +1639,53 @@ module Google
|
|
1646
1639
|
end
|
1647
1640
|
end
|
1648
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 Reference to: http://
|
1659
|
+
# google3/google/cloud/sql/v1/cloud_sql_resources.proto?l=351&rcl=354416019
|
1660
|
+
# Corresponds to the JSON property `sqlInstance`
|
1661
|
+
# @return [String]
|
1662
|
+
attr_accessor :sql_instance
|
1663
|
+
|
1664
|
+
# Output only. The current state of the sql integration.
|
1665
|
+
# Corresponds to the JSON property `state`
|
1666
|
+
# @return [String]
|
1667
|
+
attr_accessor :state
|
1668
|
+
|
1669
|
+
# Output only. The time sql integration was updated. Synthetic field is
|
1670
|
+
# populated automatically by CCFE.
|
1671
|
+
# Corresponds to the JSON property `updateTime`
|
1672
|
+
# @return [String]
|
1673
|
+
attr_accessor :update_time
|
1674
|
+
|
1675
|
+
def initialize(**args)
|
1676
|
+
update!(**args)
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
# Update properties of this object
|
1680
|
+
def update!(**args)
|
1681
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1682
|
+
@name = args[:name] if args.key?(:name)
|
1683
|
+
@sql_instance = args[:sql_instance] if args.key?(:sql_instance)
|
1684
|
+
@state = args[:state] if args.key?(:state)
|
1685
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
|
1649
1689
|
# The `Status` type defines a logical error model that is suitable for different
|
1650
1690
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1651
1691
|
# 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.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210209"
|
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
|
@@ -466,6 +472,7 @@ module Google
|
|
466
472
|
# @private
|
467
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
468
474
|
property :exclude, as: 'exclude'
|
475
|
+
property :is_rollback, as: 'isRollback'
|
469
476
|
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1beta1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1beta1::MaintenancePolicy::Representation
|
470
477
|
|
471
478
|
end
|
@@ -481,6 +488,14 @@ module Google
|
|
481
488
|
end
|
482
489
|
end
|
483
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
|
+
|
484
499
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
485
500
|
# @private
|
486
501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -516,6 +531,8 @@ module Google
|
|
516
531
|
|
517
532
|
collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
518
533
|
|
534
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
535
|
+
|
519
536
|
property :tier, as: 'tier'
|
520
537
|
end
|
521
538
|
end
|
@@ -649,17 +666,6 @@ module Google
|
|
649
666
|
end
|
650
667
|
end
|
651
668
|
|
652
|
-
class SqlIntegration
|
653
|
-
# @private
|
654
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
-
property :create_time, as: 'createTime'
|
656
|
-
property :name, as: 'name'
|
657
|
-
property :sql_instance, as: 'sqlInstance'
|
658
|
-
property :state, as: 'state'
|
659
|
-
property :update_time, as: 'updateTime'
|
660
|
-
end
|
661
|
-
end
|
662
|
-
|
663
669
|
class Schedule
|
664
670
|
# @private
|
665
671
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -678,6 +684,17 @@ module Google
|
|
678
684
|
end
|
679
685
|
end
|
680
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
|
+
|
681
698
|
class Status
|
682
699
|
# @private
|
683
700
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -600,7 +600,7 @@ module Google
|
|
600
600
|
|
601
601
|
# Gets details of a single sqlIntegration.
|
602
602
|
# @param [String] name
|
603
|
-
# Required.
|
603
|
+
# Required. SqlIntegration resource name using the form: `projects/`project_id`/
|
604
604
|
# locations/global/domains/*/sqlIntegrations/`name``
|
605
605
|
# @param [String] fields
|
606
606
|
# Selector specifying which fields to include in a partial response.
|
@@ -629,13 +629,13 @@ module Google
|
|
629
629
|
execute_or_queue_command(command, &block)
|
630
630
|
end
|
631
631
|
|
632
|
-
# Lists
|
632
|
+
# Lists SqlIntegrations in a given domain.
|
633
633
|
# @param [String] parent
|
634
|
-
# Required. The resource name of the
|
634
|
+
# Required. The resource name of the SqlIntegrations using the form: `projects/`
|
635
635
|
# project_id`/locations/global/domains/*`
|
636
636
|
# @param [String] filter
|
637
637
|
# Optional. Filter specifying constraints of a list operation. For example, `
|
638
|
-
#
|
638
|
+
# SqlIntegration.name="sql"`.
|
639
639
|
# @param [String] order_by
|
640
640
|
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
641
641
|
# google.com/apis/design/design_patterns#sorting_order.
|
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.3.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-
|
11
|
+
date: 2021-02-15 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.3.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: []
|