Class: Google::Cloud::Storage::Control::V2::IntelligenceConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Storage::Control::V2::IntelligenceConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/storage/control/v2/storage_control.rb
Overview
The IntelligenceConfig
resource associated with your organization, folder,
or project.
Defined Under Namespace
Modules: EditionConfig Classes: EffectiveIntelligenceConfig, Filter, TrialConfig
Instance Attribute Summary collapse
-
#edition_config ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EditionConfig
Optional.
-
#effective_intelligence_config ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig
readonly
Output only.
-
#filter ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter
Optional.
-
#name ⇒ ::String
Identifier.
-
#trial_config ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::TrialConfig
The trial configuration of the
IntelligenceConfig
resource. -
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#edition_config ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EditionConfig
Returns Optional. The edition configuration of the IntelligenceConfig
resource.
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 731 class IntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Filter over location and bucket using include or exclude semantics. # Resources that match the include or exclude filter are exclusively included # or excluded from the Storage Intelligence plan. # @!attribute [rw] included_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] included_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Collection of bucket locations. # @!attribute [rw] locations # @return [::Array<::String>] # Optional. Bucket locations. Location can be any of the Cloud Storage # regions specified in lower case format. For example, `us-east1`, # `us-west1`. class CloudStorageLocations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Collection of buckets. # @!attribute [rw] bucket_id_regexes # @return [::Array<::String>] # Optional. A regex pattern for matching bucket names. Regex should # follow the syntax specified in # [google/re2](https://github.com/google/re2). For example, # `^sample_.*` matches all buckets of the form # `gs://sample_bucket-1`, `gs://sample_bucket-2`, # `gs://sample_bucket-n` but not `gs://test_sample_bucket`. # If you want to match a single bucket, say `gs://sample_bucket`, # use `sample_bucket`. class CloudStorageBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The effective `IntelligenceConfig` for the resource. # @!attribute [r] effective_edition # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition] # Output only. The `IntelligenceConfig` edition that is applicable for the # resource. # @!attribute [r] intelligence_config # @return [::String] # Output only. The `IntelligenceConfig` resource that is applied for the # target resource. Format: # `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig` class EffectiveIntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The effective edition of the `IntelligenceConfig` resource. module EffectiveEdition # This is an unknown edition of the resource. EFFECTIVE_EDITION_UNSPECIFIED = 0 # No edition. NONE = 1 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 2 end end # The trial configuration of the `IntelligenceConfig` resource. # @!attribute [r] expire_time # @return [::Google::Protobuf::Timestamp] # Output only. The time at which the trial expires. class TrialConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The edition configuration of the `IntelligenceConfig` resource. This # signifies the edition used for configuring the `IntelligenceConfig` # resource and can only take the following values: # `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and # `TRIAL`. module EditionConfig # This is an unknown edition of the resource. EDITION_CONFIG_UNSPECIFIED = 0 # The inherited edition from the parent and filters. This is the default # edition when there is no `IntelligenceConfig` setup for a GCP resource. INHERIT = 1 # The edition configuration is disabled for the `IntelligenceConfig` # resource and its children. Filters are not applicable. DISABLED = 2 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 3 # The `IntelligenceConfig` resource is available in `TRIAL` edition. During # the trial period, Cloud Storage does not charge for Storage Intelligence # usage. You can specify the buckets to include in the trial period by # using filters. At the end of the trial period, the `IntelligenceConfig` # resource is upgraded to `STANDARD` edition. TRIAL = 5 end end |
#effective_intelligence_config ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig (readonly)
Returns Output only. The IntelligenceConfig
resource that is applicable for the
resource.
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 731 class IntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Filter over location and bucket using include or exclude semantics. # Resources that match the include or exclude filter are exclusively included # or excluded from the Storage Intelligence plan. # @!attribute [rw] included_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] included_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Collection of bucket locations. # @!attribute [rw] locations # @return [::Array<::String>] # Optional. Bucket locations. Location can be any of the Cloud Storage # regions specified in lower case format. For example, `us-east1`, # `us-west1`. class CloudStorageLocations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Collection of buckets. # @!attribute [rw] bucket_id_regexes # @return [::Array<::String>] # Optional. A regex pattern for matching bucket names. Regex should # follow the syntax specified in # [google/re2](https://github.com/google/re2). For example, # `^sample_.*` matches all buckets of the form # `gs://sample_bucket-1`, `gs://sample_bucket-2`, # `gs://sample_bucket-n` but not `gs://test_sample_bucket`. # If you want to match a single bucket, say `gs://sample_bucket`, # use `sample_bucket`. class CloudStorageBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The effective `IntelligenceConfig` for the resource. # @!attribute [r] effective_edition # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition] # Output only. The `IntelligenceConfig` edition that is applicable for the # resource. # @!attribute [r] intelligence_config # @return [::String] # Output only. The `IntelligenceConfig` resource that is applied for the # target resource. Format: # `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig` class EffectiveIntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The effective edition of the `IntelligenceConfig` resource. module EffectiveEdition # This is an unknown edition of the resource. EFFECTIVE_EDITION_UNSPECIFIED = 0 # No edition. NONE = 1 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 2 end end # The trial configuration of the `IntelligenceConfig` resource. # @!attribute [r] expire_time # @return [::Google::Protobuf::Timestamp] # Output only. The time at which the trial expires. class TrialConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The edition configuration of the `IntelligenceConfig` resource. This # signifies the edition used for configuring the `IntelligenceConfig` # resource and can only take the following values: # `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and # `TRIAL`. module EditionConfig # This is an unknown edition of the resource. EDITION_CONFIG_UNSPECIFIED = 0 # The inherited edition from the parent and filters. This is the default # edition when there is no `IntelligenceConfig` setup for a GCP resource. INHERIT = 1 # The edition configuration is disabled for the `IntelligenceConfig` # resource and its children. Filters are not applicable. DISABLED = 2 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 3 # The `IntelligenceConfig` resource is available in `TRIAL` edition. During # the trial period, Cloud Storage does not charge for Storage Intelligence # usage. You can specify the buckets to include in the trial period by # using filters. At the end of the trial period, the `IntelligenceConfig` # resource is upgraded to `STANDARD` edition. TRIAL = 5 end end |
#filter ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter
Returns Optional. Filter over location and bucket.
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 731 class IntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Filter over location and bucket using include or exclude semantics. # Resources that match the include or exclude filter are exclusively included # or excluded from the Storage Intelligence plan. # @!attribute [rw] included_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] included_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Collection of bucket locations. # @!attribute [rw] locations # @return [::Array<::String>] # Optional. Bucket locations. Location can be any of the Cloud Storage # regions specified in lower case format. For example, `us-east1`, # `us-west1`. class CloudStorageLocations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Collection of buckets. # @!attribute [rw] bucket_id_regexes # @return [::Array<::String>] # Optional. A regex pattern for matching bucket names. Regex should # follow the syntax specified in # [google/re2](https://github.com/google/re2). For example, # `^sample_.*` matches all buckets of the form # `gs://sample_bucket-1`, `gs://sample_bucket-2`, # `gs://sample_bucket-n` but not `gs://test_sample_bucket`. # If you want to match a single bucket, say `gs://sample_bucket`, # use `sample_bucket`. class CloudStorageBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The effective `IntelligenceConfig` for the resource. # @!attribute [r] effective_edition # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition] # Output only. The `IntelligenceConfig` edition that is applicable for the # resource. # @!attribute [r] intelligence_config # @return [::String] # Output only. The `IntelligenceConfig` resource that is applied for the # target resource. Format: # `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig` class EffectiveIntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The effective edition of the `IntelligenceConfig` resource. module EffectiveEdition # This is an unknown edition of the resource. EFFECTIVE_EDITION_UNSPECIFIED = 0 # No edition. NONE = 1 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 2 end end # The trial configuration of the `IntelligenceConfig` resource. # @!attribute [r] expire_time # @return [::Google::Protobuf::Timestamp] # Output only. The time at which the trial expires. class TrialConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The edition configuration of the `IntelligenceConfig` resource. This # signifies the edition used for configuring the `IntelligenceConfig` # resource and can only take the following values: # `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and # `TRIAL`. module EditionConfig # This is an unknown edition of the resource. EDITION_CONFIG_UNSPECIFIED = 0 # The inherited edition from the parent and filters. This is the default # edition when there is no `IntelligenceConfig` setup for a GCP resource. INHERIT = 1 # The edition configuration is disabled for the `IntelligenceConfig` # resource and its children. Filters are not applicable. DISABLED = 2 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 3 # The `IntelligenceConfig` resource is available in `TRIAL` edition. During # the trial period, Cloud Storage does not charge for Storage Intelligence # usage. You can specify the buckets to include in the trial period by # using filters. At the end of the trial period, the `IntelligenceConfig` # resource is upgraded to `STANDARD` edition. TRIAL = 5 end end |
#name ⇒ ::String
Returns Identifier. The name of the IntelligenceConfig
resource associated with
your organization, folder, or project.
The name format varies based on the GCP resource hierarchy as follows:
- For project:
projects/{project_number}/locations/global/intelligenceConfig
- For organization:
organizations/{org_id}/locations/global/intelligenceConfig
- For folder:
folders/{folder_id}/locations/global/intelligenceConfig
.
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 731 class IntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Filter over location and bucket using include or exclude semantics. # Resources that match the include or exclude filter are exclusively included # or excluded from the Storage Intelligence plan. # @!attribute [rw] included_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] included_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Collection of bucket locations. # @!attribute [rw] locations # @return [::Array<::String>] # Optional. Bucket locations. Location can be any of the Cloud Storage # regions specified in lower case format. For example, `us-east1`, # `us-west1`. class CloudStorageLocations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Collection of buckets. # @!attribute [rw] bucket_id_regexes # @return [::Array<::String>] # Optional. A regex pattern for matching bucket names. Regex should # follow the syntax specified in # [google/re2](https://github.com/google/re2). For example, # `^sample_.*` matches all buckets of the form # `gs://sample_bucket-1`, `gs://sample_bucket-2`, # `gs://sample_bucket-n` but not `gs://test_sample_bucket`. # If you want to match a single bucket, say `gs://sample_bucket`, # use `sample_bucket`. class CloudStorageBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The effective `IntelligenceConfig` for the resource. # @!attribute [r] effective_edition # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition] # Output only. The `IntelligenceConfig` edition that is applicable for the # resource. # @!attribute [r] intelligence_config # @return [::String] # Output only. The `IntelligenceConfig` resource that is applied for the # target resource. Format: # `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig` class EffectiveIntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The effective edition of the `IntelligenceConfig` resource. module EffectiveEdition # This is an unknown edition of the resource. EFFECTIVE_EDITION_UNSPECIFIED = 0 # No edition. NONE = 1 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 2 end end # The trial configuration of the `IntelligenceConfig` resource. # @!attribute [r] expire_time # @return [::Google::Protobuf::Timestamp] # Output only. The time at which the trial expires. class TrialConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The edition configuration of the `IntelligenceConfig` resource. This # signifies the edition used for configuring the `IntelligenceConfig` # resource and can only take the following values: # `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and # `TRIAL`. module EditionConfig # This is an unknown edition of the resource. EDITION_CONFIG_UNSPECIFIED = 0 # The inherited edition from the parent and filters. This is the default # edition when there is no `IntelligenceConfig` setup for a GCP resource. INHERIT = 1 # The edition configuration is disabled for the `IntelligenceConfig` # resource and its children. Filters are not applicable. DISABLED = 2 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 3 # The `IntelligenceConfig` resource is available in `TRIAL` edition. During # the trial period, Cloud Storage does not charge for Storage Intelligence # usage. You can specify the buckets to include in the trial period by # using filters. At the end of the trial period, the `IntelligenceConfig` # resource is upgraded to `STANDARD` edition. TRIAL = 5 end end |
#trial_config ⇒ ::Google::Cloud::Storage::Control::V2::IntelligenceConfig::TrialConfig
Returns The trial configuration of the IntelligenceConfig
resource.
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 731 class IntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Filter over location and bucket using include or exclude semantics. # Resources that match the include or exclude filter are exclusively included # or excluded from the Storage Intelligence plan. # @!attribute [rw] included_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] included_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Collection of bucket locations. # @!attribute [rw] locations # @return [::Array<::String>] # Optional. Bucket locations. Location can be any of the Cloud Storage # regions specified in lower case format. For example, `us-east1`, # `us-west1`. class CloudStorageLocations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Collection of buckets. # @!attribute [rw] bucket_id_regexes # @return [::Array<::String>] # Optional. A regex pattern for matching bucket names. Regex should # follow the syntax specified in # [google/re2](https://github.com/google/re2). For example, # `^sample_.*` matches all buckets of the form # `gs://sample_bucket-1`, `gs://sample_bucket-2`, # `gs://sample_bucket-n` but not `gs://test_sample_bucket`. # If you want to match a single bucket, say `gs://sample_bucket`, # use `sample_bucket`. class CloudStorageBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The effective `IntelligenceConfig` for the resource. # @!attribute [r] effective_edition # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition] # Output only. The `IntelligenceConfig` edition that is applicable for the # resource. # @!attribute [r] intelligence_config # @return [::String] # Output only. The `IntelligenceConfig` resource that is applied for the # target resource. Format: # `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig` class EffectiveIntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The effective edition of the `IntelligenceConfig` resource. module EffectiveEdition # This is an unknown edition of the resource. EFFECTIVE_EDITION_UNSPECIFIED = 0 # No edition. NONE = 1 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 2 end end # The trial configuration of the `IntelligenceConfig` resource. # @!attribute [r] expire_time # @return [::Google::Protobuf::Timestamp] # Output only. The time at which the trial expires. class TrialConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The edition configuration of the `IntelligenceConfig` resource. This # signifies the edition used for configuring the `IntelligenceConfig` # resource and can only take the following values: # `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and # `TRIAL`. module EditionConfig # This is an unknown edition of the resource. EDITION_CONFIG_UNSPECIFIED = 0 # The inherited edition from the parent and filters. This is the default # edition when there is no `IntelligenceConfig` setup for a GCP resource. INHERIT = 1 # The edition configuration is disabled for the `IntelligenceConfig` # resource and its children. Filters are not applicable. DISABLED = 2 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 3 # The `IntelligenceConfig` resource is available in `TRIAL` edition. During # the trial period, Cloud Storage does not charge for Storage Intelligence # usage. You can specify the buckets to include in the trial period by # using filters. At the end of the trial period, the `IntelligenceConfig` # resource is upgraded to `STANDARD` edition. TRIAL = 5 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time at which the IntelligenceConfig
resource is last
updated.
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'proto_docs/google/storage/control/v2/storage_control.rb', line 731 class IntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Filter over location and bucket using include or exclude semantics. # Resources that match the include or exclude filter are exclusively included # or excluded from the Storage Intelligence plan. # @!attribute [rw] included_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_locations`, `excluded_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_locations # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageLocations] # Bucket locations to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_locations`, `included_cloud_storage_locations`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] included_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to include. # # Note: The following fields are mutually exclusive: `included_cloud_storage_buckets`, `excluded_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] excluded_cloud_storage_buckets # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets] # Buckets to exclude. # # Note: The following fields are mutually exclusive: `excluded_cloud_storage_buckets`, `included_cloud_storage_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared. class Filter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Collection of bucket locations. # @!attribute [rw] locations # @return [::Array<::String>] # Optional. Bucket locations. Location can be any of the Cloud Storage # regions specified in lower case format. For example, `us-east1`, # `us-west1`. class CloudStorageLocations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Collection of buckets. # @!attribute [rw] bucket_id_regexes # @return [::Array<::String>] # Optional. A regex pattern for matching bucket names. Regex should # follow the syntax specified in # [google/re2](https://github.com/google/re2). For example, # `^sample_.*` matches all buckets of the form # `gs://sample_bucket-1`, `gs://sample_bucket-2`, # `gs://sample_bucket-n` but not `gs://test_sample_bucket`. # If you want to match a single bucket, say `gs://sample_bucket`, # use `sample_bucket`. class CloudStorageBuckets include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The effective `IntelligenceConfig` for the resource. # @!attribute [r] effective_edition # @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig::EffectiveIntelligenceConfig::EffectiveEdition] # Output only. The `IntelligenceConfig` edition that is applicable for the # resource. # @!attribute [r] intelligence_config # @return [::String] # Output only. The `IntelligenceConfig` resource that is applied for the # target resource. Format: # `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig` class EffectiveIntelligenceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The effective edition of the `IntelligenceConfig` resource. module EffectiveEdition # This is an unknown edition of the resource. EFFECTIVE_EDITION_UNSPECIFIED = 0 # No edition. NONE = 1 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 2 end end # The trial configuration of the `IntelligenceConfig` resource. # @!attribute [r] expire_time # @return [::Google::Protobuf::Timestamp] # Output only. The time at which the trial expires. class TrialConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The edition configuration of the `IntelligenceConfig` resource. This # signifies the edition used for configuring the `IntelligenceConfig` # resource and can only take the following values: # `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and # `TRIAL`. module EditionConfig # This is an unknown edition of the resource. EDITION_CONFIG_UNSPECIFIED = 0 # The inherited edition from the parent and filters. This is the default # edition when there is no `IntelligenceConfig` setup for a GCP resource. INHERIT = 1 # The edition configuration is disabled for the `IntelligenceConfig` # resource and its children. Filters are not applicable. DISABLED = 2 # The `IntelligenceConfig` resource is of STANDARD edition. STANDARD = 3 # The `IntelligenceConfig` resource is available in `TRIAL` edition. During # the trial period, Cloud Storage does not charge for Storage Intelligence # usage. You can specify the buckets to include in the trial period by # using filters. At the end of the trial period, the `IntelligenceConfig` # resource is upgraded to `STANDARD` edition. TRIAL = 5 end end |