diff --git a/api_names_out.yaml b/api_names_out.yaml index 3874162ba20..2437318b82e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -134832,6 +134832,67 @@ "/datapipelines:v1/fields": fields "/datapipelines:v1/key": key "/datapipelines:v1/quotaUser": quota_user +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation": cloud_reliability_zicy_ws3_dataplane_protos_asset_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/ccfeRmsPath": ccfe_rms_path +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/expected": expected +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/extraParameters": extra_parameters +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/extraParameters/extra_parameter": extra_parameter +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/locationData": location_data +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/locationData/location_datum": location_datum +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/parentAsset": parent_asset +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocation/parentAsset/parent_asset": parent_asset +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations": cloud_reliability_zicy_ws3_dataplane_protos_asset_location_isolation_expectations +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/requirementOverride": requirement_override +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/ziOrgPolicy": zi_org_policy +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/ziRegionPolicy": zi_region_policy +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/ziRegionState": zi_region_state +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/zoneIsolation": zone_isolation +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/zoneSeparation": zone_separation +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/zsOrgPolicy": zs_org_policy +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations/zsRegionState": zs_region_state +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride": cloud_reliability_zicy_ws3_dataplane_protos_asset_location_isolation_expectations_requirement_override +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride/ziOverride": zi_override +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride/zsOverride": zs_override +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation": cloud_reliability_zicy_ws3_dataplane_protos_blobstore_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation/policyId": policy_id +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation/policyId/policy_id": policy_id +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosCloudAsset": cloud_reliability_zicy_ws3_dataplane_protos_cloud_asset +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosCloudAsset/assetName": asset_name +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosCloudAsset/assetType": asset_type +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition": cloud_reliability_zicy_ws3_dataplane_protos_cloud_asset_composition +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition/childAsset": child_asset +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition/childAsset/child_asset": child_asset +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment": cloud_reliability_zicy_ws3_dataplane_protos_direct_location_assignment +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment/location": location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment/location/location": location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosExtraParameter": cloud_reliability_zicy_ws3_dataplane_protos_extra_parameter +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosExtraParameter/regionalMigDistributionPolicy": regional_mig_distribution_policy +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationAssignment": cloud_reliability_zicy_ws3_dataplane_protos_location_assignment +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationAssignment/location": location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationAssignment/locationType": location_type +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationData": cloud_reliability_zicy_ws3_dataplane_protos_location_data +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationData/blobstoreLocation": blobstore_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationData/childAssetLocation": child_asset_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationData/directLocation": direct_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationData/gcpProjectProxy": gcp_project_proxy +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationData/placerLocation": placer_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosLocationData/spannerLocation": spanner_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosPlacerLocation": cloud_reliability_zicy_ws3_dataplane_protos_placer_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosPlacerLocation/placerConfig": placer_config +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy": cloud_reliability_zicy_ws3_dataplane_protos_regional_mig_distribution_policy +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy/targetShape": target_shape +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy/zones": zones +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy/zones/zone": zone +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosSpannerLocation": cloud_reliability_zicy_ws3_dataplane_protos_spanner_location +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosSpannerLocation/backupName": backup_name +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosSpannerLocation/backupName/backup_name": backup_name +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosSpannerLocation/dbName": db_name +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosSpannerLocation/dbName/db_name": db_name +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy": cloud_reliability_zicy_ws3_dataplane_protos_tenant_project_proxy +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy/projectNumbers": project_numbers +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy/projectNumbers/project_number": project_number +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration": cloud_reliability_zicy_ws3_dataplane_protos_zone_configuration +"/dataplex:v1/CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration/zone": zone "/dataplex:v1/Empty": empty "/dataplex:v1/GoogleCloudDataplexV1Action": google_cloud_dataplex_v1_action "/dataplex:v1/GoogleCloudDataplexV1Action/asset": asset @@ -135973,6 +136034,17 @@ "/dataplex:v1/dataplex.organizations.locations.encryptionConfigs.setIamPolicy/resource": resource "/dataplex:v1/dataplex.organizations.locations.encryptionConfigs.testIamPermissions": test_organization_location_encryption_config_iam_permissions "/dataplex:v1/dataplex.organizations.locations.encryptionConfigs.testIamPermissions/resource": resource +"/dataplex:v1/dataplex.organizations.locations.operations.cancel": cancel_organization_location_operation +"/dataplex:v1/dataplex.organizations.locations.operations.cancel/name": name +"/dataplex:v1/dataplex.organizations.locations.operations.delete": delete_organization_location_operation +"/dataplex:v1/dataplex.organizations.locations.operations.delete/name": name +"/dataplex:v1/dataplex.organizations.locations.operations.get": get_organization_location_operation +"/dataplex:v1/dataplex.organizations.locations.operations.get/name": name +"/dataplex:v1/dataplex.organizations.locations.operations.listOperations": list_organization_location_operation_operations +"/dataplex:v1/dataplex.organizations.locations.operations.listOperations/filter": filter +"/dataplex:v1/dataplex.organizations.locations.operations.listOperations/name": name +"/dataplex:v1/dataplex.organizations.locations.operations.listOperations/pageSize": page_size +"/dataplex:v1/dataplex.organizations.locations.operations.listOperations/pageToken": page_token "/dataplex:v1/dataplex.projects.locations.aspectTypes.create": create_project_location_aspect_type "/dataplex:v1/dataplex.projects.locations.aspectTypes.create/aspectTypeId": aspect_type_id "/dataplex:v1/dataplex.projects.locations.aspectTypes.create/parent": parent @@ -136164,6 +136236,13 @@ "/dataplex:v1/dataplex.projects.locations.entryGroups.setIamPolicy/resource": resource "/dataplex:v1/dataplex.projects.locations.entryGroups.testIamPermissions": test_project_location_entry_group_iam_permissions "/dataplex:v1/dataplex.projects.locations.entryGroups.testIamPermissions/resource": resource +"/dataplex:v1/dataplex.projects.locations.entryLinkTypes.getIamPolicy": get_project_location_entry_link_type_iam_policy +"/dataplex:v1/dataplex.projects.locations.entryLinkTypes.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version +"/dataplex:v1/dataplex.projects.locations.entryLinkTypes.getIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.entryLinkTypes.setIamPolicy": set_project_location_entry_link_type_iam_policy +"/dataplex:v1/dataplex.projects.locations.entryLinkTypes.setIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.entryLinkTypes.testIamPermissions": test_project_location_entry_link_type_iam_permissions +"/dataplex:v1/dataplex.projects.locations.entryLinkTypes.testIamPermissions/resource": resource "/dataplex:v1/dataplex.projects.locations.entryTypes.create": create_project_location_entry_type "/dataplex:v1/dataplex.projects.locations.entryTypes.create/entryTypeId": entry_type_id "/dataplex:v1/dataplex.projects.locations.entryTypes.create/parent": parent @@ -136192,11 +136271,25 @@ "/dataplex:v1/dataplex.projects.locations.entryTypes.testIamPermissions/resource": resource "/dataplex:v1/dataplex.projects.locations.get": get_project_location "/dataplex:v1/dataplex.projects.locations.get/name": name +"/dataplex:v1/dataplex.projects.locations.glossaries.categories.getIamPolicy": get_project_location_glossary_category_iam_policy +"/dataplex:v1/dataplex.projects.locations.glossaries.categories.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version +"/dataplex:v1/dataplex.projects.locations.glossaries.categories.getIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.glossaries.categories.setIamPolicy": set_project_location_glossary_category_iam_policy +"/dataplex:v1/dataplex.projects.locations.glossaries.categories.setIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.glossaries.categories.testIamPermissions": test_project_location_glossary_category_iam_permissions +"/dataplex:v1/dataplex.projects.locations.glossaries.categories.testIamPermissions/resource": resource "/dataplex:v1/dataplex.projects.locations.glossaries.getIamPolicy": get_project_location_glossary_iam_policy "/dataplex:v1/dataplex.projects.locations.glossaries.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version "/dataplex:v1/dataplex.projects.locations.glossaries.getIamPolicy/resource": resource "/dataplex:v1/dataplex.projects.locations.glossaries.setIamPolicy": set_project_location_glossary_iam_policy "/dataplex:v1/dataplex.projects.locations.glossaries.setIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.glossaries.terms.getIamPolicy": get_project_location_glossary_term_iam_policy +"/dataplex:v1/dataplex.projects.locations.glossaries.terms.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version +"/dataplex:v1/dataplex.projects.locations.glossaries.terms.getIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.glossaries.terms.setIamPolicy": set_project_location_glossary_term_iam_policy +"/dataplex:v1/dataplex.projects.locations.glossaries.terms.setIamPolicy/resource": resource +"/dataplex:v1/dataplex.projects.locations.glossaries.terms.testIamPermissions": test_project_location_glossary_term_iam_permissions +"/dataplex:v1/dataplex.projects.locations.glossaries.terms.testIamPermissions/resource": resource "/dataplex:v1/dataplex.projects.locations.glossaries.testIamPermissions": test_project_location_glossary_iam_permissions "/dataplex:v1/dataplex.projects.locations.glossaries.testIamPermissions/resource": resource "/dataplex:v1/dataplex.projects.locations.governanceRules.getIamPolicy": get_project_location_governance_rule_iam_policy diff --git a/generated/google-apis-dataplex_v1/CHANGELOG.md b/generated/google-apis-dataplex_v1/CHANGELOG.md index 2d24df31bcb..12628d8e74f 100644 --- a/generated/google-apis-dataplex_v1/CHANGELOG.md +++ b/generated/google-apis-dataplex_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dataplex_v1 +### v0.62.0 (2024-09-01) + +* Regenerated from discovery document revision 20240820 + ### v0.61.0 (2024-08-11) * Regenerated from discovery document revision 20240802 diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb index 8762f050c6e..49778b21a73 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb @@ -22,6 +22,433 @@ module Google module Apis module DataplexV1 + # Provides the mapping of a cloud asset to a direct physical location or to a + # proxy that defines the location on its behalf. + class CloudReliabilityZicyWs3DataplaneProtosAssetLocation + include Google::Apis::Core::Hashable + + # Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants + # that use CCFE RMS for storing resource metadata. + # Corresponds to the JSON property `ccfeRmsPath` + # @return [String] + attr_accessor :ccfe_rms_path + + # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state + # of the region at the time of asset creation. + # Corresponds to the JSON property `expected` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations] + attr_accessor :expected + + # Defines extra parameters required for specific asset types. + # Corresponds to the JSON property `extraParameters` + # @return [Array] + attr_accessor :extra_parameters + + # Contains all kinds of physical location definitions for this asset. + # Corresponds to the JSON property `locationData` + # @return [Array] + attr_accessor :location_data + + # Defines parents assets if any in order to allow later generation of + # child_asset_location data via child assets. + # Corresponds to the JSON property `parentAsset` + # @return [Array] + attr_accessor :parent_asset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path) + @expected = args[:expected] if args.key?(:expected) + @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters) + @location_data = args[:location_data] if args.key?(:location_data) + @parent_asset = args[:parent_asset] if args.key?(:parent_asset) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations + include Google::Apis::Core::Hashable + + # Explicit overrides for ZI and ZS requirements to be used for resources that + # should be excluded from ZI/ZS verification logic. + # Corresponds to the JSON property `requirementOverride` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride] + attr_accessor :requirement_override + + # + # Corresponds to the JSON property `ziOrgPolicy` + # @return [String] + attr_accessor :zi_org_policy + + # + # Corresponds to the JSON property `ziRegionPolicy` + # @return [String] + attr_accessor :zi_region_policy + + # + # Corresponds to the JSON property `ziRegionState` + # @return [String] + attr_accessor :zi_region_state + + # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead + # for setting ZI expectations as per go/zicy-publish-physical-location. + # Corresponds to the JSON property `zoneIsolation` + # @return [String] + attr_accessor :zone_isolation + + # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs + # expectations as per go/zicy-publish-physical-location. + # Corresponds to the JSON property `zoneSeparation` + # @return [String] + attr_accessor :zone_separation + + # + # Corresponds to the JSON property `zsOrgPolicy` + # @return [String] + attr_accessor :zs_org_policy + + # + # Corresponds to the JSON property `zsRegionState` + # @return [String] + attr_accessor :zs_region_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requirement_override = args[:requirement_override] if args.key?(:requirement_override) + @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy) + @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy) + @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state) + @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation) + @zone_separation = args[:zone_separation] if args.key?(:zone_separation) + @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy) + @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `ziOverride` + # @return [String] + attr_accessor :zi_override + + # + # Corresponds to the JSON property `zsOverride` + # @return [String] + attr_accessor :zs_override + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zi_override = args[:zi_override] if args.key?(:zi_override) + @zs_override = args[:zs_override] if args.key?(:zs_override) + end + end + + # Policy ID that identified data placement in Blobstore as per go/blobstore-user- + # guide#data-metadata-placement-and-failure-domains + class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `policyId` + # @return [Array] + attr_accessor :policy_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy_id = args[:policy_id] if args.key?(:policy_id) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosCloudAsset + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `assetName` + # @return [String] + attr_accessor :asset_name + + # + # Corresponds to the JSON property `assetType` + # @return [String] + attr_accessor :asset_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @asset_name = args[:asset_name] if args.key?(:asset_name) + @asset_type = args[:asset_type] if args.key?(:asset_type) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `childAsset` + # @return [Array] + attr_accessor :child_asset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @child_asset = args[:child_asset] if args.key?(:child_asset) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `location` + # @return [Array] + attr_accessor :location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + end + end + + # Defines parameters that should only be used for specific asset types. + class CloudReliabilityZicyWs3DataplaneProtosExtraParameter + include Google::Apis::Core::Hashable + + # To be used for specifying the intended distribution of regional compute. + # googleapis.com/InstanceGroupManager instances + # Corresponds to the JSON property `regionalMigDistributionPolicy` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy] + attr_accessor :regional_mig_distribution_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # + # Corresponds to the JSON property `locationType` + # @return [String] + attr_accessor :location_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + @location_type = args[:location_type] if args.key?(:location_type) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosLocationData + include Google::Apis::Core::Hashable + + # Policy ID that identified data placement in Blobstore as per go/blobstore-user- + # guide#data-metadata-placement-and-failure-domains + # Corresponds to the JSON property `blobstoreLocation` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation] + attr_accessor :blobstore_location + + # + # Corresponds to the JSON property `childAssetLocation` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition] + attr_accessor :child_asset_location + + # + # Corresponds to the JSON property `directLocation` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment] + attr_accessor :direct_location + + # + # Corresponds to the JSON property `gcpProjectProxy` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy] + attr_accessor :gcp_project_proxy + + # Message describing that the location of the customer resource is tied to + # placer allocations + # Corresponds to the JSON property `placerLocation` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosPlacerLocation] + attr_accessor :placer_location + + # + # Corresponds to the JSON property `spannerLocation` + # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosSpannerLocation] + attr_accessor :spanner_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location) + @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location) + @direct_location = args[:direct_location] if args.key?(:direct_location) + @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy) + @placer_location = args[:placer_location] if args.key?(:placer_location) + @spanner_location = args[:spanner_location] if args.key?(:spanner_location) + end + end + + # Message describing that the location of the customer resource is tied to + # placer allocations + class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation + include Google::Apis::Core::Hashable + + # Directory with a config related to it in placer (e.g. "/placer/prod/home/my- + # root/my-dir") + # Corresponds to the JSON property `placerConfig` + # @return [String] + attr_accessor :placer_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @placer_config = args[:placer_config] if args.key?(:placer_config) + end + end + + # To be used for specifying the intended distribution of regional compute. + # googleapis.com/InstanceGroupManager instances + class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy + include Google::Apis::Core::Hashable + + # The shape in which the group converges around distribution of resources. + # Instance of proto2 enum + # Corresponds to the JSON property `targetShape` + # @return [Fixnum] + attr_accessor :target_shape + + # Cloud zones used by regional MIG to create instances. + # Corresponds to the JSON property `zones` + # @return [Array] + attr_accessor :zones + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_shape = args[:target_shape] if args.key?(:target_shape) + @zones = args[:zones] if args.key?(:zones) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation + include Google::Apis::Core::Hashable + + # Set of backups used by the resource with name in the same format as what is + # available at http://table/spanner_automon.backup_metadata + # Corresponds to the JSON property `backupName` + # @return [Array] + attr_accessor :backup_name + + # Set of databases used by the resource in format /span// + # Corresponds to the JSON property `dbName` + # @return [Array] + attr_accessor :db_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backup_name = args[:backup_name] if args.key?(:backup_name) + @db_name = args[:db_name] if args.key?(:db_name) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `projectNumbers` + # @return [Array] + attr_accessor :project_numbers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_numbers = args[:project_numbers] if args.key?(:project_numbers) + end + end + + # + class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @zone = args[:zone] if args.key?(:zone) + end + end + # A generic empty message that you can re-use to avoid defining duplicated empty # messages in your APIs. A typical example is to use it as the request or the # response type of an API method. For instance: service Foo ` rpc Bar(google. diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb index 6ebaacc256d..8b320f3cb35 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DataplexV1 # Version of the google-apis-dataplex_v1 gem - GEM_VERSION = "0.61.0" + GEM_VERSION = "0.62.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20240802" + REVISION = "20240820" end end end diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb index 1b4fa1219d8..8587c6808a7 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/representations.rb @@ -22,6 +22,96 @@ module Google module Apis module DataplexV1 + class CloudReliabilityZicyWs3DataplaneProtosAssetLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosCloudAsset + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosExtraParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosLocationData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1240,6 +1330,147 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CloudReliabilityZicyWs3DataplaneProtosAssetLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ccfe_rms_path, as: 'ccfeRmsPath' + property :expected, as: 'expected', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations::Representation + + collection :extra_parameters, as: 'extraParameters', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosExtraParameter, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosExtraParameter::Representation + + collection :location_data, as: 'locationData', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationData, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationData::Representation + + collection :parent_asset, as: 'parentAsset', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset::Representation + + end + end + + class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :requirement_override, as: 'requirementOverride', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride::Representation + + property :zi_org_policy, as: 'ziOrgPolicy' + property :zi_region_policy, as: 'ziRegionPolicy' + property :zi_region_state, as: 'ziRegionState' + property :zone_isolation, as: 'zoneIsolation' + property :zone_separation, as: 'zoneSeparation' + property :zs_org_policy, as: 'zsOrgPolicy' + property :zs_region_state, as: 'zsRegionState' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :zi_override, as: 'ziOverride' + property :zs_override, as: 'zsOverride' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :policy_id, as: 'policyId' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosCloudAsset + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :asset_name, as: 'assetName' + property :asset_type, as: 'assetType' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :child_asset, as: 'childAsset', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset::Representation + + end + end + + class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :location, as: 'location', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationAssignment, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationAssignment::Representation + + end + end + + class CloudReliabilityZicyWs3DataplaneProtosExtraParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy::Representation + + end + end + + class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location' + property :location_type, as: 'locationType' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosLocationData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation::Representation + + property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition::Representation + + property :direct_location, as: 'directLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment::Representation + + property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy::Representation + + property :placer_location, as: 'placerLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosPlacerLocation, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosPlacerLocation::Representation + + property :spanner_location, as: 'spannerLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosSpannerLocation, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosSpannerLocation::Representation + + end + end + + class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :placer_config, as: 'placerConfig' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_shape, as: 'targetShape' + collection :zones, as: 'zones', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration::Representation + + end + end + + class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :backup_name, as: 'backupName' + collection :db_name, as: 'dbName' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :project_numbers, as: 'projectNumbers' + end + end + + class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :zone, as: 'zone' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb index 645eec31508..27b34c983a9 100644 --- a/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb +++ b/generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb @@ -172,6 +172,150 @@ def test_organization_location_encryption_config_iam_permissions(resource, googl execute_or_queue_command(command, &block) end + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to Code.CANCELLED. + # @param [String] name + # The name of the operation resource to be cancelled. + # @param [Google::Apis::DataplexV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_organization_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::DataplexV1::GoogleLongrunningCancelOperationRequest::Representation + command.request_object = google_longrunning_cancel_operation_request_object + command.response_representation = Google::Apis::DataplexV1::Empty::Representation + command.response_class = Google::Apis::DataplexV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a long-running operation. This method indicates that the client is no + # longer interested in the operation result. It does not cancel the operation. + # If the server doesn't support this method, it returns google.rpc.Code. + # UNIMPLEMENTED. + # @param [String] name + # The name of the operation resource to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataplexV1::Empty::Representation + command.response_class = Google::Apis::DataplexV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. + # @param [String] name + # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns UNIMPLEMENTED. + # @param [String] name + # The name of the operation's parent resource. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_location_operation_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets information about a location. # @param [String] name # Resource name for the location. @@ -2716,6 +2860,127 @@ def patch_project_location_entry_group_entry(name, google_cloud_dataplex_v1_entr execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. Returns an empty policy if the + # resource exists and does not have a policy set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. See Resource + # names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The maximum policy version that will be used to format the policy. + # Valid values are 0, 1, and 3. Requests specifying an invalid value will be + # rejected.Requests for policies with any conditional role bindings must specify + # version 3. Policies with no conditional role bindings may specify any valid + # value or leave the field unset.The policy in the response might use the policy + # version that you specified, or it might use a lower policy version. For + # example, if you specify version 3, but the policy has no conditional role + # bindings, the response uses version 1.To learn which resources support + # conditions in their IAM policies, see the IAM documentation (https://cloud. + # google.com/iam/help/conditions/resource-policies). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_entry_link_type_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED + # errors. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. See Resource + # names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_location_entry_link_type_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation + command.request_object = google_iam_v1_set_iam_policy_request_object + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. If the + # resource does not exist, this will return an empty set of permissions, not a + # NOT_FOUND error.Note: This operation is designed to be used for building + # permission-aware UIs and command-line tools, not for authorization checking. + # This operation may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. See + # Resource names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_project_location_entry_link_type_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation + command.request_object = google_iam_v1_test_iam_permissions_request_object + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates an EntryType. # @param [String] parent # Required. The resource name of the EntryType, of the form: projects/` @@ -3159,6 +3424,248 @@ def test_project_location_glossary_iam_permissions(resource, google_iam_v1_test_ execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. Returns an empty policy if the + # resource exists and does not have a policy set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. See Resource + # names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The maximum policy version that will be used to format the policy. + # Valid values are 0, 1, and 3. Requests specifying an invalid value will be + # rejected.Requests for policies with any conditional role bindings must specify + # version 3. Policies with no conditional role bindings may specify any valid + # value or leave the field unset.The policy in the response might use the policy + # version that you specified, or it might use a lower policy version. For + # example, if you specify version 3, but the policy has no conditional role + # bindings, the response uses version 1.To learn which resources support + # conditions in their IAM policies, see the IAM documentation (https://cloud. + # google.com/iam/help/conditions/resource-policies). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_glossary_category_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED + # errors. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. See Resource + # names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_location_glossary_category_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation + command.request_object = google_iam_v1_set_iam_policy_request_object + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. If the + # resource does not exist, this will return an empty set of permissions, not a + # NOT_FOUND error.Note: This operation is designed to be used for building + # permission-aware UIs and command-line tools, not for authorization checking. + # This operation may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. See + # Resource names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_project_location_glossary_category_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation + command.request_object = google_iam_v1_test_iam_permissions_request_object + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. Returns an empty policy if the + # resource exists and does not have a policy set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. See Resource + # names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The maximum policy version that will be used to format the policy. + # Valid values are 0, 1, and 3. Requests specifying an invalid value will be + # rejected.Requests for policies with any conditional role bindings must specify + # version 3. Policies with no conditional role bindings may specify any valid + # value or leave the field unset.The policy in the response might use the policy + # version that you specified, or it might use a lower policy version. For + # example, if you specify version 3, but the policy has no conditional role + # bindings, the response uses version 1.To learn which resources support + # conditions in their IAM policies, see the IAM documentation (https://cloud. + # google.com/iam/help/conditions/resource-policies). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_glossary_term_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED + # errors. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. See Resource + # names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_location_glossary_term_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation + command.request_object = google_iam_v1_set_iam_policy_request_object + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. If the + # resource does not exist, this will return an empty set of permissions, not a + # NOT_FOUND error.Note: This operation is designed to be used for building + # permission-aware UIs and command-line tools, not for authorization checking. + # This operation may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. See + # Resource names (https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_project_location_glossary_term_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation + command.request_object = google_iam_v1_test_iam_permissions_request_object + command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets the access control policy for a resource. Returns an empty policy if the # resource exists and does not have a policy set. # @param [String] resource